/src/scnlib/src/scn/impl.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Copyright 2017 Elias Kosunen |
2 | | // |
3 | | // Licensed under the Apache License, Version 2.0 (the "License"); |
4 | | // you may not use this file except in compliance with the License. |
5 | | // You may obtain a copy of the License at |
6 | | // |
7 | | // https://www.apache.org/licenses/LICENSE-2.0 |
8 | | // |
9 | | // Unless required by applicable law or agreed to in writing, software |
10 | | // distributed under the License is distributed on an "AS IS" BASIS, |
11 | | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | | // See the License for the specific language governing permissions and |
13 | | // limitations under the License. |
14 | | // |
15 | | // This file is a part of scnlib: |
16 | | // https://github.com/eliaskosunen/scnlib |
17 | | |
18 | | #pragma once |
19 | | |
20 | | // Transitively includes <scn/scan.h> |
21 | | #include <scn/regex.h> |
22 | | #include <scn/xchar.h> |
23 | | |
24 | | #include <algorithm> |
25 | | #include <clocale> |
26 | | #include <cmath> |
27 | | #include <cwchar> |
28 | | #include <functional> |
29 | | #include <vector> |
30 | | |
31 | | #if SCN_HAS_BITOPS |
32 | | #include <bit> |
33 | | #elif SCN_MSVC |
34 | | #include <IntSafe.h> |
35 | | #include <intrin.h> |
36 | | #elif SCN_POSIX && !SCN_GCC_COMPAT |
37 | | |
38 | | SCN_CLANG_PUSH |
39 | | SCN_CLANG_IGNORE("-Wreserved-id-macro") |
40 | | #define _XOPEN_SOURCE 700 |
41 | | SCN_CLANG_POP |
42 | | |
43 | | #include <strings.h> |
44 | | #endif |
45 | | |
46 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
47 | | #include <regex> |
48 | | #if SCN_REGEX_BOOST_USE_ICU |
49 | | #error "Can't use the ICU with std::regex" |
50 | | #endif |
51 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
52 | | #include <boost/regex.hpp> |
53 | | #if SCN_REGEX_BOOST_USE_ICU |
54 | | #include <boost/regex/icu.hpp> |
55 | | #endif |
56 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
57 | | #include <re2/re2.h> |
58 | | #endif |
59 | | |
60 | | namespace scn { |
61 | | SCN_BEGIN_NAMESPACE |
62 | | |
63 | | ///////////////////////////////////////////////////////////////// |
64 | | // Private ranges stuff |
65 | | ///////////////////////////////////////////////////////////////// |
66 | | |
67 | | namespace ranges { |
68 | | |
69 | | template <typename R> |
70 | | using const_iterator_t = iterator_t<std::add_const_t<R>>; |
71 | | |
72 | | // Like std::ranges::distance, utilizing .position if available |
73 | | namespace detail::distance_ { |
74 | | struct fn { |
75 | | private: |
76 | | template <typename I, typename S> |
77 | | static constexpr auto impl(I i, S s, priority_tag<1>) |
78 | | -> decltype(s.position() - i.position()) |
79 | | { |
80 | | return s.position() - i.position(); |
81 | | } |
82 | | |
83 | | template <typename I, typename S> |
84 | | static constexpr auto impl(I i, S s, priority_tag<0>) |
85 | | -> std::enable_if_t<sized_sentinel_for<S, I>, iter_difference_t<I>> |
86 | 52.8k | { |
87 | 52.8k | return s - i; |
88 | 52.8k | } std::__1::enable_if<sized_sentinel_for<char const*, char const*>, scn::v4::ranges::incrementable_traits<char const*>::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<char const*, char const*>(char const*, char const*, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 86 | 51.7k | { | 87 | 51.7k | return s - i; | 88 | 51.7k | } |
std::__1::enable_if<sized_sentinel_for<wchar_t const*, wchar_t const*>, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 86 | 1.04k | { | 87 | 1.04k | return s - i; | 88 | 1.04k | } |
Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >, scn::v4::ranges::incrementable_traits<std::__1::__wrap_iter<char*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >(std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*>, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >, scn::v4::ranges::incrementable_traits<std::__1::__wrap_iter<wchar_t*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >(std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*>, scn::v4::detail::priority_tag<0ul>) |
89 | | |
90 | | template <typename I, typename S> |
91 | | static constexpr auto impl(I i, S s, priority_tag<0>) |
92 | | -> std::enable_if_t<!sized_sentinel_for<S, I>, iter_difference_t<I>> |
93 | 0 | { |
94 | 0 | iter_difference_t<I> counter{0}; |
95 | 0 | while (i != s) { |
96 | 0 | ++i; |
97 | 0 | ++counter; |
98 | 0 | } |
99 | 0 | return counter; |
100 | 0 | } Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::detail::priority_tag<0ul>) |
101 | | |
102 | | public: |
103 | | template <typename I, typename S> |
104 | | constexpr auto operator()(I first, S last) const |
105 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
106 | | iter_difference_t<I>> |
107 | 52.8k | { |
108 | 52.8k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); |
109 | 52.8k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), scn::v4::ranges::incrementable_traits<char const*>::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<char const*, char const*>(char const*, char const*) const Line | Count | Source | 107 | 51.7k | { | 108 | 51.7k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); | 109 | 51.7k | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) const Line | Count | Source | 107 | 1.04k | { | 108 | 1.04k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); | 109 | 1.04k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>)&&(sentinel_for<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<std::__1::__wrap_iter<char*> >)&&(sentinel_for<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >), scn::v4::ranges::incrementable_traits<std::__1::__wrap_iter<char*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >(std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>)&&(sentinel_for<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<std::__1::__wrap_iter<wchar_t*> >)&&(sentinel_for<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >), scn::v4::ranges::incrementable_traits<std::__1::__wrap_iter<wchar_t*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >(std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*>) const |
110 | | }; |
111 | | } // namespace detail::distance_ |
112 | | |
113 | | inline constexpr auto distance = detail::distance_::fn{}; |
114 | | |
115 | | namespace detail { |
116 | | template <typename I, typename = void> |
117 | | struct has_batch_advance : std::false_type {}; |
118 | | template <typename I> |
119 | | struct has_batch_advance<I, |
120 | | std::void_t<decltype(SCN_DECLVAL(I&).batch_advance( |
121 | | SCN_DECLVAL(std::ptrdiff_t)))>> : std::true_type { |
122 | | }; |
123 | | } // namespace detail |
124 | | |
125 | | // std::advance, utilizing .batch_advance if available |
126 | | namespace detail::advance_ { |
127 | | struct fn { |
128 | | private: |
129 | | template <typename T> |
130 | | static constexpr T abs(T t) |
131 | 71.3k | { |
132 | 71.3k | if (t < T{0}) { |
133 | 0 | return -t; |
134 | 0 | } |
135 | 71.3k | return t; |
136 | 71.3k | } |
137 | | |
138 | | template <typename I> |
139 | | static constexpr auto impl(I& i, iter_difference_t<I> n, priority_tag<1>) |
140 | | -> std::enable_if_t<has_batch_advance<I>::value> |
141 | | { |
142 | | i.batch_advance(n); |
143 | | } |
144 | | |
145 | | template <typename I> |
146 | | static constexpr auto impl_i_n(I& i, |
147 | | iter_difference_t<I> n, |
148 | | priority_tag<0>) |
149 | | -> std::enable_if_t<random_access_iterator<I>> |
150 | 91.5k | { |
151 | 91.5k | i += n; |
152 | 91.5k | } std::__1::enable_if<random_access_iterator<char const*>, void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<char const*>(char const*&, scn::v4::ranges::incrementable_traits<char const*>::difference_type, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 150 | 87.0k | { | 151 | 87.0k | i += n; | 152 | 87.0k | } |
std::__1::enable_if<random_access_iterator<wchar_t const*>, void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<wchar_t const*>(wchar_t const*&, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 150 | 4.47k | { | 151 | 4.47k | i += n; | 152 | 4.47k | } |
|
153 | | |
154 | | template <typename I> |
155 | | static constexpr auto impl_i_n(I& i, |
156 | | iter_difference_t<I> n, |
157 | | priority_tag<0>) |
158 | | -> std::enable_if_t<bidirectional_iterator<I> && |
159 | | !random_access_iterator<I>> |
160 | 3.74k | { |
161 | 3.74k | constexpr auto zero = iter_difference_t<I>{0}; |
162 | | |
163 | 3.74k | if (n > zero) { |
164 | 0 | while (n-- > zero) { |
165 | 0 | ++i; |
166 | 0 | } |
167 | 0 | } |
168 | 3.74k | else { |
169 | 3.74k | while (n++ < zero) { |
170 | 0 | --i; |
171 | 0 | } |
172 | 3.74k | } |
173 | 3.74k | } std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 160 | 1.44k | { | 161 | 1.44k | constexpr auto zero = iter_difference_t<I>{0}; | 162 | | | 163 | 1.44k | if (n > zero) { | 164 | 0 | while (n-- > zero) { | 165 | 0 | ++i; | 166 | 0 | } | 167 | 0 | } | 168 | 1.44k | else { | 169 | 1.44k | while (n++ < zero) { | 170 | 0 | --i; | 171 | 0 | } | 172 | 1.44k | } | 173 | 1.44k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 160 | 2.29k | { | 161 | 2.29k | constexpr auto zero = iter_difference_t<I>{0}; | 162 | | | 163 | 2.29k | if (n > zero) { | 164 | 0 | while (n-- > zero) { | 165 | 0 | ++i; | 166 | 0 | } | 167 | 0 | } | 168 | 2.29k | else { | 169 | 2.29k | while (n++ < zero) { | 170 | 0 | --i; | 171 | 0 | } | 172 | 2.29k | } | 173 | 2.29k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) |
174 | | |
175 | | template <typename I> |
176 | | static constexpr auto impl_i_n(I& i, |
177 | | iter_difference_t<I> n, |
178 | | priority_tag<0>) |
179 | | -> std::enable_if_t<!bidirectional_iterator<I>> |
180 | 0 | { |
181 | 0 | while (n-- > iter_difference_t<I>{0}) { |
182 | 0 | ++i; |
183 | 0 | } |
184 | 0 | } Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v4::detail::priority_tag<0ul>) |
185 | | |
186 | | template <typename I, typename S> |
187 | | static constexpr auto impl_i_s(I& i, S bound, priority_tag<2>) |
188 | | -> std::enable_if_t<std::is_assignable_v<I&, S>> |
189 | 1.68k | { |
190 | 1.68k | i = std::move(bound); |
191 | 1.68k | } _ZN3scn2v46ranges6detail8advance_2fn8impl_i_sIPKcS7_EENSt3__19enable_ifIXsr3stdE15is_assignable_vIRT_T0_EEvE4typeESB_SC_NS0_6detail12priority_tagILm2EEE Line | Count | Source | 189 | 948 | { | 190 | 948 | i = std::move(bound); | 191 | 948 | } |
_ZN3scn2v46ranges6detail8advance_2fn8impl_i_sIPKwS7_EENSt3__19enable_ifIXsr3stdE15is_assignable_vIRT_T0_EEvE4typeESB_SC_NS0_6detail12priority_tagILm2EEE Line | Count | Source | 189 | 740 | { | 190 | 740 | i = std::move(bound); | 191 | 740 | } |
|
192 | | |
193 | | template <typename I, typename S> |
194 | | static constexpr auto impl_i_s(I& i, S bound, priority_tag<1>) |
195 | | -> std::enable_if_t<sized_sentinel_for<S, I>> |
196 | | { |
197 | | fn::impl_i_n(i, bound - i); |
198 | | } |
199 | | |
200 | | template <typename I, typename S> |
201 | | static constexpr void impl_i_s(I& i, S bound, priority_tag<0>) |
202 | 192 | { |
203 | 3.01k | while (i != bound) { |
204 | 2.82k | ++i; |
205 | 2.82k | } |
206 | 192 | } Unexecuted instantiation: void scn::v4::ranges::detail::advance_::fn::impl_i_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::detail::priority_tag<0ul>) void scn::v4::ranges::detail::advance_::fn::impl_i_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 202 | 144 | { | 203 | 2.78k | while (i != bound) { | 204 | 2.64k | ++i; | 205 | 2.64k | } | 206 | 144 | } |
Unexecuted instantiation: void scn::v4::ranges::detail::advance_::fn::impl_i_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::detail::priority_tag<0ul>) void scn::v4::ranges::detail::advance_::fn::impl_i_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 202 | 48 | { | 203 | 234 | while (i != bound) { | 204 | 186 | ++i; | 205 | 186 | } | 206 | 48 | } |
|
207 | | |
208 | | template <typename I, typename S> |
209 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
210 | | -> std::enable_if_t<sized_sentinel_for<S, I>, iter_difference_t<I>> |
211 | 35.6k | { |
212 | 35.6k | if (fn::abs(n) >= fn::abs(bound - i)) { |
213 | 66 | auto dist = bound - i; |
214 | 66 | fn::impl_i_s(i, bound, priority_tag<2>{}); |
215 | 66 | return dist; |
216 | 66 | } |
217 | 35.5k | fn::impl_i_n(i, n, priority_tag<1>{}); |
218 | 35.5k | return n; |
219 | 35.6k | } std::__1::enable_if<sized_sentinel_for<char const*, char const*>, scn::v4::ranges::incrementable_traits<char const*>::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<char const*, char const*>(char const*&, scn::v4::ranges::incrementable_traits<char const*>::difference_type, char const*) Line | Count | Source | 211 | 35.6k | { | 212 | 35.6k | if (fn::abs(n) >= fn::abs(bound - i)) { | 213 | 66 | auto dist = bound - i; | 214 | 66 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 215 | 66 | return dist; | 216 | 66 | } | 217 | 35.5k | fn::impl_i_n(i, n, priority_tag<1>{}); | 218 | 35.5k | return n; | 219 | 35.6k | } |
Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<wchar_t const*, wchar_t const*>, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<wchar_t const*, wchar_t const*>(wchar_t const*&, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type, wchar_t const*) |
220 | | |
221 | | template <typename I, typename S> |
222 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
223 | | -> std::enable_if_t<bidirectional_iterator<I> && |
224 | | !sized_sentinel_for<S, I>, |
225 | | iter_difference_t<I>> |
226 | 4.42k | { |
227 | 4.42k | constexpr iter_difference_t<I> zero{0}; |
228 | 4.42k | iter_difference_t<I> counter{0}; |
229 | | |
230 | 4.42k | if (n < zero) { |
231 | 0 | do { |
232 | 0 | --i; |
233 | 0 | --counter; // Yes, really |
234 | 0 | } while (++n < zero && i != bound); |
235 | 0 | } |
236 | 4.42k | else { |
237 | 15.0k | while (n-- > zero && i != bound) { |
238 | 10.6k | ++i; |
239 | 10.6k | ++counter; |
240 | 10.6k | } |
241 | 4.42k | } |
242 | | |
243 | 4.42k | return counter; |
244 | 4.42k | } Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 226 | 3.57k | { | 227 | 3.57k | constexpr iter_difference_t<I> zero{0}; | 228 | 3.57k | iter_difference_t<I> counter{0}; | 229 | | | 230 | 3.57k | if (n < zero) { | 231 | 0 | do { | 232 | 0 | --i; | 233 | 0 | --counter; // Yes, really | 234 | 0 | } while (++n < zero && i != bound); | 235 | 0 | } | 236 | 3.57k | else { | 237 | 11.8k | while (n-- > zero && i != bound) { | 238 | 8.30k | ++i; | 239 | 8.30k | ++counter; | 240 | 8.30k | } | 241 | 3.57k | } | 242 | | | 243 | 3.57k | return counter; | 244 | 3.57k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) Line | Count | Source | 226 | 854 | { | 227 | 854 | constexpr iter_difference_t<I> zero{0}; | 228 | 854 | iter_difference_t<I> counter{0}; | 229 | | | 230 | 854 | if (n < zero) { | 231 | 0 | do { | 232 | 0 | --i; | 233 | 0 | --counter; // Yes, really | 234 | 0 | } while (++n < zero && i != bound); | 235 | 0 | } | 236 | 854 | else { | 237 | 3.17k | while (n-- > zero && i != bound) { | 238 | 2.31k | ++i; | 239 | 2.31k | ++counter; | 240 | 2.31k | } | 241 | 854 | } | 242 | | | 243 | 854 | return counter; | 244 | 854 | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) |
245 | | |
246 | | template <typename I, typename S> |
247 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
248 | | -> std::enable_if_t<!bidirectional_iterator<I> && |
249 | | !sized_sentinel_for<S, I>, |
250 | | iter_difference_t<I>> |
251 | 0 | { |
252 | 0 | constexpr iter_difference_t<I> zero{0}; |
253 | 0 | iter_difference_t<I> counter{0}; |
254 | |
|
255 | 0 | while (n-- > zero && i != bound) { |
256 | 0 | ++i; |
257 | 0 | ++counter; |
258 | 0 | } |
259 | |
|
260 | 0 | return counter; |
261 | 0 | } Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >))&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >))&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>))&&(!(sized_sentinel_for<scn::v4::ranges::default_sentinel_t, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>)), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >))&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >))&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>))&&(!(sized_sentinel_for<scn::v4::ranges::default_sentinel_t, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>)), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v4::ranges::default_sentinel_t) |
262 | | |
263 | | public: |
264 | | template <typename I> |
265 | | constexpr auto operator()(I& i, iter_difference_t<I> n) const |
266 | | -> std::enable_if_t<input_or_output_iterator<I>> |
267 | 59.6k | { |
268 | 59.6k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); |
269 | 59.6k | } std::__1::enable_if<input_or_output_iterator<char const*>, void>::type scn::v4::ranges::detail::advance_::fn::operator()<char const*>(char const*&, scn::v4::ranges::incrementable_traits<char const*>::difference_type) const Line | Count | Source | 267 | 51.4k | { | 268 | 51.4k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 51.4k | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, void>::type scn::v4::ranges::detail::advance_::fn::operator()<wchar_t const*>(wchar_t const*&, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type) const Line | Count | Source | 267 | 4.47k | { | 268 | 4.47k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 4.47k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type) const Line | Count | Source | 267 | 1.44k | { | 268 | 1.44k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 1.44k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type) const Line | Count | Source | 267 | 2.29k | { | 268 | 2.29k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 2.29k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type) const |
270 | | |
271 | | template <typename I, typename S> |
272 | | constexpr auto operator()(I& i, S bound) const |
273 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>> |
274 | 1.81k | { |
275 | 1.81k | fn::impl_i_s(i, bound, priority_tag<2>{}); |
276 | 1.81k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), void>::type scn::v4::ranges::detail::advance_::fn::operator()<char const*, char const*>(char const*&, char const*) const Line | Count | Source | 274 | 882 | { | 275 | 882 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 882 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 274 | 144 | { | 275 | 144 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 144 | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), void>::type scn::v4::ranges::detail::advance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*&, wchar_t const*) const Line | Count | Source | 274 | 740 | { | 275 | 740 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 740 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Line | Count | Source | 274 | 48 | { | 275 | 48 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 48 | } |
|
277 | | |
278 | | template <typename I, typename S> |
279 | | constexpr auto operator()(I& i, iter_difference_t<I> n, S bound) const |
280 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
281 | | iter_difference_t<I>> |
282 | 40.0k | { |
283 | 40.0k | return n - fn::impl_i_n_s(i, n, bound); |
284 | 40.0k | } Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 282 | 3.57k | { | 283 | 3.57k | return n - fn::impl_i_n_s(i, n, bound); | 284 | 3.57k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>)&&(sentinel_for<scn::v4::ranges::default_sentinel_t, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v4::ranges::default_sentinel_t) const std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), scn::v4::ranges::incrementable_traits<char const*>::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<char const*, char const*>(char const*&, scn::v4::ranges::incrementable_traits<char const*>::difference_type, char const*) const Line | Count | Source | 282 | 35.6k | { | 283 | 35.6k | return n - fn::impl_i_n_s(i, n, bound); | 284 | 35.6k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*&, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type, wchar_t const*) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>)&&(sentinel_for<scn::v4::ranges::default_sentinel_t, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v4::ranges::default_sentinel_t) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) const Line | Count | Source | 282 | 854 | { | 283 | 854 | return n - fn::impl_i_n_s(i, n, bound); | 284 | 854 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) const |
285 | | }; |
286 | | } // namespace detail::advance_ |
287 | | |
288 | | inline constexpr auto advance = detail::advance_::fn{}; |
289 | | |
290 | | namespace next_impl { |
291 | | struct fn { |
292 | | template <typename I> |
293 | | constexpr auto operator()(I x) const |
294 | | -> std::enable_if_t<input_or_output_iterator<I>, I> |
295 | 185M | { |
296 | 185M | ++x; |
297 | 185M | return x; |
298 | 185M | } Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>) const Line | Count | Source | 295 | 2.36k | { | 296 | 2.36k | ++x; | 297 | 2.36k | return x; | 298 | 2.36k | } |
std::__1::enable_if<input_or_output_iterator<char const*>, char const*>::type scn::v4::ranges::next_impl::fn::operator()<char const*>(char const*) const Line | Count | Source | 295 | 37.4k | { | 296 | 37.4k | ++x; | 297 | 37.4k | return x; | 298 | 37.4k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>) const Line | Count | Source | 295 | 984 | { | 296 | 984 | ++x; | 297 | 984 | return x; | 298 | 984 | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, wchar_t const*>::type scn::v4::ranges::next_impl::fn::operator()<wchar_t const*>(wchar_t const*) const Line | Count | Source | 295 | 185M | { | 296 | 185M | ++x; | 297 | 185M | return x; | 298 | 185M | } |
|
299 | | |
300 | | template <typename I> |
301 | | constexpr auto operator()(I x, iter_difference_t<I> n) const |
302 | | -> std::enable_if_t<input_or_output_iterator<I>, I> |
303 | 55.9k | { |
304 | 55.9k | ranges::advance(x, n); |
305 | 55.9k | return x; |
306 | 55.9k | } std::__1::enable_if<input_or_output_iterator<char const*>, char const*>::type scn::v4::ranges::next_impl::fn::operator()<char const*>(char const*, scn::v4::ranges::incrementable_traits<char const*>::difference_type) const Line | Count | Source | 303 | 51.4k | { | 304 | 51.4k | ranges::advance(x, n); | 305 | 51.4k | return x; | 306 | 51.4k | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, wchar_t const*>::type scn::v4::ranges::next_impl::fn::operator()<wchar_t const*>(wchar_t const*, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type) const Line | Count | Source | 303 | 4.47k | { | 304 | 4.47k | ranges::advance(x, n); | 305 | 4.47k | return x; | 306 | 4.47k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type) const |
307 | | |
308 | | template <typename I, typename S> |
309 | | constexpr auto operator()(I x, S bound) const |
310 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
311 | | I> |
312 | 1.81k | { |
313 | 1.81k | ranges::advance(x, bound); |
314 | 1.81k | return x; |
315 | 1.81k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), char const*>::type scn::v4::ranges::next_impl::fn::operator()<char const*, char const*>(char const*, char const*) const Line | Count | Source | 312 | 882 | { | 313 | 882 | ranges::advance(x, bound); | 314 | 882 | return x; | 315 | 882 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 312 | 144 | { | 313 | 144 | ranges::advance(x, bound); | 314 | 144 | return x; | 315 | 144 | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), wchar_t const*>::type scn::v4::ranges::next_impl::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) const Line | Count | Source | 312 | 740 | { | 313 | 740 | ranges::advance(x, bound); | 314 | 740 | return x; | 315 | 740 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Line | Count | Source | 312 | 48 | { | 313 | 48 | ranges::advance(x, bound); | 314 | 48 | return x; | 315 | 48 | } |
|
316 | | |
317 | | template <typename I, typename S> |
318 | | constexpr auto operator()(I x, iter_difference_t<I> n, S bound) const |
319 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
320 | | I> |
321 | | { |
322 | | ranges::advance(x, n, bound); |
323 | | return x; |
324 | | } |
325 | | }; |
326 | | } // namespace next_impl |
327 | | |
328 | | inline constexpr next_impl::fn next{}; |
329 | | |
330 | | // prev, for forward_iterators |
331 | | namespace detail::prev_backtrack_ { |
332 | | struct fn { |
333 | | private: |
334 | | template <typename It> |
335 | | static constexpr auto impl(It it, It, priority_tag<2>) |
336 | | -> std::enable_if_t<bidirectional_iterator<It>, It> |
337 | | { |
338 | | --it; |
339 | | return it; |
340 | | } |
341 | | |
342 | | template <typename It> |
343 | | static constexpr auto impl(It it, It beg, priority_tag<1>) |
344 | | -> remove_cvref_t<decltype((void)beg.batch_advance(42), it)> |
345 | | { |
346 | | return beg.batch_advance(it.position() - 1); |
347 | | } |
348 | | |
349 | | template <typename It> |
350 | | static constexpr auto impl(It it, It beg, priority_tag<0>) |
351 | | -> std::enable_if_t<forward_iterator<It>, It> |
352 | | { |
353 | | SCN_EXPECT(it != beg); |
354 | | |
355 | | while (true) { |
356 | | auto tmp = beg; |
357 | | ++beg; |
358 | | if (beg == it) { |
359 | | return tmp; |
360 | | } |
361 | | } |
362 | | } |
363 | | |
364 | | public: |
365 | | template <typename It> |
366 | | constexpr auto operator()(It it, It beg) const |
367 | | -> decltype(fn::impl(it, beg, priority_tag<2>{})) |
368 | | { |
369 | | return fn::impl(it, beg, priority_tag<2>{}); |
370 | | } |
371 | | }; |
372 | | } // namespace detail::prev_backtrack_ |
373 | | |
374 | | inline constexpr auto prev_backtrack = detail::prev_backtrack_::fn{}; |
375 | | |
376 | | // operator<, for forward_iterators |
377 | | namespace detail::less_backtrack_ { |
378 | | struct fn { |
379 | | private: |
380 | | template <typename It> |
381 | | static constexpr auto impl(It lhs, It rhs, It, priority_tag<2>) |
382 | | -> decltype(static_cast<void>(lhs < rhs), true) |
383 | | { |
384 | | return lhs < rhs; |
385 | | } |
386 | | |
387 | | template <typename It> |
388 | | static constexpr auto impl(It lhs, It rhs, It, priority_tag<1>) |
389 | | -> decltype(static_cast<void>(lhs.position() < rhs.position()), true) |
390 | | { |
391 | | return lhs.position() < rhs.position(); |
392 | | } |
393 | | |
394 | | template <typename It> |
395 | | static constexpr auto impl(It lhs, It rhs, It beg, priority_tag<0>) |
396 | | -> std::enable_if_t<ranges::forward_iterator<It>, bool> |
397 | | { |
398 | | while (true) { |
399 | | if (beg == rhs) { |
400 | | return false; |
401 | | } |
402 | | if (beg == lhs) { |
403 | | return true; |
404 | | } |
405 | | ++beg; |
406 | | } |
407 | | } |
408 | | |
409 | | public: |
410 | | template <typename It> |
411 | | constexpr auto operator()(It lhs, It rhs, It beg) const |
412 | | -> decltype(fn::impl(lhs, rhs, beg, priority_tag<2>{})) |
413 | | { |
414 | | return fn::impl(lhs, rhs, beg, priority_tag<2>{}); |
415 | | } |
416 | | }; |
417 | | } // namespace detail::less_backtrack_ |
418 | | |
419 | | inline constexpr auto less_backtrack = detail::less_backtrack_::fn{}; |
420 | | |
421 | | } // namespace ranges |
422 | | |
423 | | ///////////////////////////////////////////////////////////////// |
424 | | // ASCII-only locale-free <cctype> |
425 | | ///////////////////////////////////////////////////////////////// |
426 | | |
427 | | namespace impl { |
428 | | inline constexpr std::array<bool, 256> is_ascii_space_lookup = { |
429 | | {false, false, false, false, false, false, false, false, false, true, |
430 | | true, true, true, true, false, false, false, false, false, false, |
431 | | false, false, false, false, false, false, false, false, false, false, |
432 | | false, false, true, false, false, false, false, false, false, false, |
433 | | false, false, false, false, false, false, false, false, false, false, |
434 | | false, false, false, false, false, false, false, false, false, false, |
435 | | false, false, false, false, false, false, false, false, false, false, |
436 | | false, false, false, false, false, false, false, false, false, false, |
437 | | false, false, false, false, false, false, false, false, false, false, |
438 | | false, false, false, false, false, false, false, false, false, false, |
439 | | false, false, false, false, false, false, false, false, false, false, |
440 | | false, false, false, false, false, false, false, false, false, false, |
441 | | false, false, false, false, false, false, false, false, false, false, |
442 | | false, false, false, false, false, false, false, false, false, false, |
443 | | false, false, false, false, false, false, false, false, false, false, |
444 | | false, false, false, false, false, false, false, false, false, false, |
445 | | false, false, false, false, false, false, false, false, false, false, |
446 | | false, false, false, false, false, false, false, false, false, false, |
447 | | false, false, false, false, false, false, false, false, false, false, |
448 | | false, false, false, false, false, false, false, false, false, false, |
449 | | false, false, false, false, false, false, false, false, false, false, |
450 | | false, false, false, false, false, false, false, false, false, false, |
451 | | false, false, false, false, false, false, false, false, false, false, |
452 | | false, false, false, false, false, false, false, false, false, false, |
453 | | false, false, false, false, false, false, false, false, false, false, |
454 | | false, false, false, false, false, false}}; |
455 | | |
456 | | constexpr bool is_ascii_space(char ch) noexcept |
457 | 34.1k | { |
458 | 34.1k | return is_ascii_space_lookup[static_cast<size_t>( |
459 | 34.1k | static_cast<unsigned char>(ch))]; |
460 | 34.1k | } |
461 | | |
462 | | constexpr bool is_ascii_space(wchar_t ch) noexcept |
463 | 0 | { |
464 | 0 | return ch == 0x20 || (ch >= 0x09 && ch <= 0x0d); |
465 | 0 | } |
466 | | |
467 | | constexpr bool is_ascii_char(char ch) noexcept |
468 | 263k | { |
469 | 263k | return static_cast<unsigned char>(ch) <= 127; |
470 | 263k | } |
471 | | |
472 | | constexpr bool is_ascii_char(wchar_t ch) noexcept |
473 | 1.83k | { |
474 | 1.83k | #if WCHAR_MIN < 0 |
475 | 1.83k | return ch >= 0 && ch <= 127; |
476 | | #else |
477 | | return ch <= 127; |
478 | | #endif |
479 | 1.83k | } |
480 | | |
481 | | constexpr bool is_ascii_char(char32_t cp) noexcept |
482 | 280k | { |
483 | 280k | return cp <= 127; |
484 | 280k | } |
485 | | |
486 | | ///////////////////////////////////////////////////////////////// |
487 | | // <bits> |
488 | | ///////////////////////////////////////////////////////////////// |
489 | | |
490 | | inline int count_trailing_zeroes(uint64_t val) |
491 | 0 | { |
492 | 0 | SCN_EXPECT(val != 0); |
493 | 0 | #if SCN_HAS_BITOPS |
494 | 0 | return std::countr_zero(val); |
495 | 0 | #elif SCN_GCC_COMPAT |
496 | 0 | return __builtin_ctzll(val); |
497 | 0 | #elif SCN_MSVC && SCN_WINDOWS_64BIT |
498 | 0 | DWORD ret{}; |
499 | 0 | _BitScanForward64(&ret, val); |
500 | 0 | return static_cast<int>(ret); |
501 | 0 | #elif SCN_MSVC && !SCN_WINDOWS_64BIT |
502 | 0 | DWORD ret{}; |
503 | 0 | if (_BitScanForward(&ret, static_cast<uint32_t>(val))) { |
504 | 0 | return static_cast<int>(ret); |
505 | 0 | } |
506 | 0 |
|
507 | 0 | _BitScanForward(&ret, static_cast<uint32_t>(val >> 32)); |
508 | 0 | return static_cast<int>(ret + 32); |
509 | 0 | #elif SCN_POSIX |
510 | 0 | return ::ctzll(val); |
511 | 0 | #else |
512 | 0 | #define SCN_HAS_BITS_CTZ 0 |
513 | 0 | SCN_EXPECT(false); |
514 | 0 | SCN_UNREACHABLE; |
515 | 0 | #endif |
516 | 0 | } |
517 | | |
518 | | #ifndef SCN_HAS_BITS_CTZ |
519 | | #define SCN_HAS_BITS_CTZ 1 |
520 | | #endif |
521 | | |
522 | | constexpr uint64_t has_zero_byte(uint64_t word) |
523 | 0 | { |
524 | 0 | return (word - 0x0101010101010101ull) & ~word & 0x8080808080808080ull; |
525 | 0 | } |
526 | | |
527 | | constexpr uint64_t has_byte_between(uint64_t word, uint8_t a, uint8_t b) |
528 | 0 | { |
529 | 0 | const auto m = static_cast<uint64_t>(a) - 1, |
530 | 0 | n = static_cast<uint64_t>(b) + 1; |
531 | 0 | return (((~0ull / 255 * (127 + (n)) - ((word) & ~0ull / 255 * 127)) & |
532 | 0 | ~(word) & |
533 | 0 | (((word) & ~0ull / 255 * 127) + ~0ull / 255 * (127 - (m)))) & |
534 | 0 | (~0ull / 255 * 128)); |
535 | 0 | } |
536 | | |
537 | | constexpr uint64_t has_byte_greater(uint64_t word, uint8_t n) |
538 | 29.9k | { |
539 | 29.9k | return (word + ~0ull / 255 * (127 - n) | word) & ~0ull / 255 * 128; |
540 | 29.9k | } |
541 | | |
542 | | inline size_t get_index_of_first_nonmatching_byte(uint64_t word) |
543 | 0 | { |
544 | 0 | word ^= 0x8080808080808080ull; |
545 | 0 | if (word == 0) { |
546 | 0 | return 8; |
547 | 0 | } |
548 | 0 | return static_cast<size_t>(count_trailing_zeroes(word)) / 8; |
549 | 0 | } |
550 | | |
551 | | inline size_t get_index_of_first_matching_byte(uint64_t word, uint64_t pattern) |
552 | 0 | { |
553 | 0 | constexpr auto mask = 0x7f7f7f7f7f7f7f7full; |
554 | 0 | auto input = word ^ pattern; |
555 | 0 | auto tmp = (input & mask) + mask; |
556 | 0 | tmp = ~(tmp | input | mask); |
557 | 0 | return static_cast<size_t>(count_trailing_zeroes(tmp)) / 8; |
558 | 0 | } |
559 | | |
560 | | constexpr uint32_t log2_fast(uint32_t val) |
561 | 0 | { |
562 | 0 | constexpr uint8_t lookup[] = {0, 9, 1, 10, 13, 21, 2, 29, 11, 14, 16, |
563 | 0 | 18, 22, 25, 3, 30, 8, 12, 20, 28, 15, 17, |
564 | 0 | 24, 7, 19, 27, 23, 6, 26, 5, 4, 31}; |
565 | 0 |
|
566 | 0 | val |= val >> 1; |
567 | 0 | val |= val >> 2; |
568 | 0 | val |= val >> 4; |
569 | 0 | val |= val >> 8; |
570 | 0 | val |= val >> 16; |
571 | 0 |
|
572 | 0 | return static_cast<uint32_t>(lookup[(val * 0x07c4acddu) >> 27]); |
573 | 0 | } |
574 | | |
575 | | constexpr uint32_t log2_pow2_fast(uint32_t val) |
576 | 0 | { |
577 | 0 | constexpr uint8_t lookup[] = {0, 1, 28, 2, 29, 14, 24, 3, 30, 22, 20, |
578 | 0 | 15, 25, 17, 4, 8, 31, 27, 13, 23, 21, 19, |
579 | 0 | 16, 7, 26, 12, 18, 6, 11, 5, 10, 9}; |
580 | 0 |
|
581 | 0 | return static_cast<uint32_t>(lookup[(val * 0x077cb531u) >> 27]); |
582 | 0 | } |
583 | | |
584 | | constexpr uint64_t byteswap(uint64_t val) |
585 | 0 | { |
586 | 0 | return (val & 0xFF00000000000000) >> 56 | (val & 0x00FF000000000000) >> 40 | |
587 | 0 | (val & 0x0000FF0000000000) >> 24 | (val & 0x000000FF00000000) >> 8 | |
588 | 0 | (val & 0x00000000FF000000) << 8 | (val & 0x0000000000FF0000) << 24 | |
589 | 0 | (val & 0x000000000000FF00) << 40 | (val & 0x00000000000000FF) << 56; |
590 | 0 | } |
591 | | |
592 | | ///////////////////////////////////////////////////////////////// |
593 | | // <function_ref> |
594 | | ///////////////////////////////////////////////////////////////// |
595 | | |
596 | | namespace fnref_detail { |
597 | | template <class T> |
598 | | inline constexpr auto select_param_type = [] { |
599 | | if constexpr (std::is_trivially_copyable_v<T>) { |
600 | | return detail::type_identity<T>(); |
601 | | } |
602 | | else { |
603 | | return std::add_rvalue_reference<T>(); |
604 | | } |
605 | | }; |
606 | | |
607 | | template <class T> |
608 | | using param_t = |
609 | | typename std::invoke_result_t<decltype(select_param_type<T>)>::type; |
610 | | |
611 | | template <typename Sig> |
612 | | struct qual_fn_sig; |
613 | | |
614 | | template <typename R, typename... Args> |
615 | | struct qual_fn_sig<R(Args...)> { |
616 | | using function = R(Args...); |
617 | | |
618 | | static constexpr bool is_noexcept = false; |
619 | | |
620 | | template <typename... T> |
621 | | static constexpr bool is_invocable_using = |
622 | | std::is_invocable_r_v<R, T..., Args...>; |
623 | | |
624 | | template <typename T> |
625 | | using cv = T; |
626 | | }; |
627 | | |
628 | | template <typename R, typename... Args> |
629 | | struct qual_fn_sig<R(Args...) noexcept> { |
630 | | using function = R(Args...); |
631 | | |
632 | | static constexpr bool is_noexcept = true; |
633 | | |
634 | | template <typename... T> |
635 | | static constexpr bool is_invocable_using = |
636 | | std::is_nothrow_invocable_r_v<R, T..., Args...>; |
637 | | |
638 | | template <typename T> |
639 | | using cv = T; |
640 | | }; |
641 | | |
642 | | template <typename R, typename... Args> |
643 | | struct qual_fn_sig<R(Args...) const> : qual_fn_sig<R(Args...)> { |
644 | | template <typename T> |
645 | | using cv = T const; |
646 | | }; |
647 | | |
648 | | template <typename R, typename... Args> |
649 | | struct qual_fn_sig<R(Args...) const noexcept> |
650 | | : qual_fn_sig<R(Args...) noexcept> { |
651 | | template <typename T> |
652 | | using cv = T const; |
653 | | }; |
654 | | |
655 | | struct base { |
656 | | union storage { |
657 | | constexpr storage() = default; |
658 | | |
659 | | template <typename T, std::enable_if_t<std::is_object_v<T>>* = nullptr> |
660 | 77.1k | constexpr explicit storage(T* p) noexcept : m_p(p) |
661 | 77.1k | { |
662 | 77.1k | } _ZN3scn2v44impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbcES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 2.68k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 2.68k | { | 662 | 2.68k | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbDiES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 16.8k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 16.8k | { | 662 | 16.8k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_TnPNSQ_9enable_ifIXsr3stdE11is_object_vISS_EEvE4typeELPv0EEEPSS_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPSK_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vIS9_EEvE4typeELPv0EEEPS9_ Line | Count | Source | 660 | 31.2k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 31.2k | { | 662 | 31.2k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPSH_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_TnPNSN_9enable_ifIXsr3stdE11is_object_vISP_EEvE4typeELPv0EEEPSP_ Line | Count | Source | 660 | 982 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 982 | { | 662 | 982 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 536 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 536 | { | 662 | 536 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_TnPNSR_9enable_ifIXsr3stdE11is_object_vIST_EEvE4typeELPv0EEEPST_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 6 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 6 | { | 662 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_TnPNSO_9enable_ifIXsr3stdE11is_object_vISQ_EEvE4typeELPv0EEEPSQ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 330 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 330 | { | 662 | 330 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 22 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 22 | { | 662 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 8 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 8 | { | 662 | 8 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 328 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 328 | { | 662 | 328 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 6 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 6 | { | 662 | 6 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 270 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 270 | { | 662 | 270 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 912 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 912 | { | 662 | 912 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 46 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 46 | { | 662 | 46 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 46 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 46 | { | 662 | 46 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 46 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 46 | { | 662 | 46 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbwES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 1.35k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 1.35k | { | 662 | 1.35k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_TnPNSQ_9enable_ifIXsr3stdE11is_object_vISS_EEvE4typeELPv0EEEPSS_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPSK_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vIS9_EEvE4typeELPv0EEEPS9_ Line | Count | Source | 660 | 3.00k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 3.00k | { | 662 | 3.00k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPSH_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISE_EEvE4typeELPv0EEEPSE_ Line | Count | Source | 660 | 2.11k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 2.11k | { | 662 | 2.11k | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_TnPNSN_9enable_ifIXsr3stdE11is_object_vISP_EEvE4typeELPv0EEEPSP_ Line | Count | Source | 660 | 382 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 382 | { | 662 | 382 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 264 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 264 | { | 662 | 264 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_TnPNSE_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ Line | Count | Source | 660 | 8.09k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 8.09k | { | 662 | 8.09k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_TnPNSR_9enable_ifIXsr3stdE11is_object_vIST_EEvE4typeELPv0EEEPST_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 6 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 6 | { | 662 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_TnPNSO_9enable_ifIXsr3stdE11is_object_vISQ_EEvE4typeELPv0EEEPSQ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 122 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 122 | { | 662 | 122 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 6 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 6 | { | 662 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 8 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 8 | { | 662 | 8 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 120 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 120 | { | 662 | 120 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 6 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 6 | { | 662 | 6 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 304 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 304 | { | 662 | 304 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 330 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 330 | { | 662 | 330 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 18 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 18 | { | 662 | 18 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_TnPNSE_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ Line | Count | Source | 660 | 2.20k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 2.20k | { | 662 | 2.20k | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 36 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 36 | { | 662 | 36 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 18 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 18 | { | 662 | 18 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 36 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 36 | { | 662 | 36 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 18 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 18 | { | 662 | 18 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 36 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 36 | { | 662 | 36 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISE_EEvE4typeELPv0EEEPSE_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 628 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 628 | { | 662 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 2.29k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 2.29k | { | 662 | 2.29k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 436 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 436 | { | 662 | 436 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 860 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 860 | { | 662 | 860 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ |
663 | | |
664 | | template <typename T, std::enable_if_t<std::is_object_v<T>>* = nullptr> |
665 | 5.91k | constexpr explicit storage(const T* p) noexcept : m_cp(p) |
666 | 5.91k | { |
667 | 5.91k | } Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPKSK_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISF_EEvE4typeELPv0EEEPKSF_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_TnPNSF_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Line | Count | Source | 665 | 530 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 530 | { | 667 | 530 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 474 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 474 | { | 667 | 474 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 354 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 354 | { | 667 | 354 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 2.32k | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 2.32k | { | 667 | 2.32k | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 252 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 252 | { | 667 | 252 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPKSK_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISF_EEvE4typeELPv0EEEPKSF_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_TnPNSF_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Line | Count | Source | 665 | 498 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 498 | { | 667 | 498 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 222 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 222 | { | 667 | 222 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 108 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 108 | { | 667 | 108 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 318 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 318 | { | 667 | 318 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 96 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 96 | { | 667 | 96 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 504 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 504 | { | 667 | 504 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 228 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 228 | { | 667 | 228 | } |
|
668 | | |
669 | | template <typename F, |
670 | | std::enable_if_t<std::is_function_v<F>>* = nullptr> |
671 | | constexpr explicit storage(F* f) noexcept |
672 | | : m_fp(reinterpret_cast<decltype(m_fp)>(f)) |
673 | | { |
674 | | } |
675 | | |
676 | | void* m_p{nullptr}; |
677 | | const void* m_cp; |
678 | | void (*m_fp)(); |
679 | | }; |
680 | | |
681 | | template <typename T> |
682 | | static constexpr auto get(storage s) |
683 | 718k | { |
684 | 718k | if constexpr (std::is_const_v<T>) { |
685 | 296k | return static_cast<T*>(s.m_cp); |
686 | | } |
687 | 422k | else if constexpr (std::is_object_v<T>) { |
688 | 422k | return static_cast<T*>(s.m_p); |
689 | | } |
690 | | else { |
691 | | return reinterpret_cast<T*>(s.m_fp); |
692 | | } |
693 | 718k | } auto scn::v4::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v4::impl::function_ref<bool (char), bool (char)> > >(scn::v4::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 6.75k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6.75k | else if constexpr (std::is_object_v<T>) { | 688 | 6.75k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6.75k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_lRKNSB_9fill_typeEbEUlcE_EEDaNS3_7storageE auto scn::v4::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v4::impl::function_ref<bool (char32_t), bool (char32_t)> > >(scn::v4::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 290k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 290k | else if constexpr (std::is_object_v<T>) { | 688 | 290k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 290k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNSA_9fill_typeEbEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEENS1_15take_width_viewINS9_ISF_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_iEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_iEUlcE_EEDaNS3_7storageE auto scn::v4::impl::fnref_detail::base::get<scn::v4::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >)::{lambda(char32_t)#1}>(scn::v4::impl::fnref_detail::base::storage)Line | Count | Source | 683 | 42.4k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 42.4k | else if constexpr (std::is_object_v<T>) { | 688 | 42.4k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 42.4k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESG_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINSt3__117basic_string_viewIcNS6_11char_traitsIcEEEEEENS0_13scan_expectedINS6_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESE_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSD_EENS1_15take_width_viewINS9_ISD_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 982 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 982 | else if constexpr (std::is_object_v<T>) { | 688 | 982 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 982 | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 948 | { | 684 | 948 | if constexpr (std::is_const_v<T>) { | 685 | 948 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 948 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.38k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 1.38k | else if constexpr (std::is_object_v<T>) { | 688 | 1.38k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.38k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESS_NSQ_17basic_string_viewIcNSQ_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 6 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6 | else if constexpr (std::is_object_v<T>) { | 688 | 6 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 330 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 330 | else if constexpr (std::is_object_v<T>) { | 688 | 330 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 330 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 22 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 22 | else if constexpr (std::is_object_v<T>) { | 688 | 22 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 8 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 8 | else if constexpr (std::is_object_v<T>) { | 688 | 8 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 8 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 328 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 328 | else if constexpr (std::is_object_v<T>) { | 688 | 328 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 328 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 6 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6 | else if constexpr (std::is_object_v<T>) { | 688 | 6 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 270 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 270 | else if constexpr (std::is_object_v<T>) { | 688 | 270 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 270 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 14.0k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 14.0k | else if constexpr (std::is_object_v<T>) { | 688 | 14.0k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 14.0k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.17k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 1.17k | else if constexpr (std::is_object_v<T>) { | 688 | 1.17k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.17k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 12.7k | { | 684 | 12.7k | if constexpr (std::is_const_v<T>) { | 685 | 12.7k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 12.7k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 7.20k | { | 684 | 7.20k | if constexpr (std::is_const_v<T>) { | 685 | 7.20k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 7.20k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 698 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 698 | else if constexpr (std::is_object_v<T>) { | 688 | 698 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 698 | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 260k | { | 684 | 260k | if constexpr (std::is_const_v<T>) { | 685 | 260k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 260k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 3.36k | { | 684 | 3.36k | if constexpr (std::is_const_v<T>) { | 685 | 3.36k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 3.36k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.17k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 1.17k | else if constexpr (std::is_object_v<T>) { | 688 | 1.17k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.17k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 698 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 698 | else if constexpr (std::is_object_v<T>) { | 688 | 698 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 698 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.17k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 1.17k | else if constexpr (std::is_object_v<T>) { | 688 | 1.17k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.17k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 698 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 698 | else if constexpr (std::is_object_v<T>) { | 688 | 698 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 698 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE auto scn::v4::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v4::impl::function_ref<bool (wchar_t), bool (wchar_t)> > >(scn::v4::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 3.15k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 3.15k | else if constexpr (std::is_object_v<T>) { | 688 | 3.15k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 3.15k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_lRKNSB_9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNSA_9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEENS1_15take_width_viewINS9_ISF_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_iEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_iEUlwE_EEDaNS3_7storageE auto scn::v4::impl::fnref_detail::base::get<scn::v4::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >)::{lambda(char32_t)#1}>(scn::v4::impl::fnref_detail::base::storage)Line | Count | Source | 683 | 6.80k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6.80k | else if constexpr (std::is_object_v<T>) { | 688 | 6.80k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6.80k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESG_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEENS0_13scan_expectedINS6_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESE_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS6_9add_constIT_E4typeEEEEESD_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 2.39k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 2.39k | else if constexpr (std::is_object_v<T>) { | 688 | 2.39k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 2.39k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSD_EENS1_15take_width_viewINS9_ISD_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 382 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 382 | else if constexpr (std::is_object_v<T>) { | 688 | 382 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 382 | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 952 | { | 684 | 952 | if constexpr (std::is_const_v<T>) { | 685 | 952 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 952 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 342 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 342 | else if constexpr (std::is_object_v<T>) { | 688 | 342 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 342 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 9.88k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 9.88k | else if constexpr (std::is_object_v<T>) { | 688 | 9.88k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 9.88k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESS_NSQ_17basic_string_viewIcNSQ_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 6 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6 | else if constexpr (std::is_object_v<T>) { | 688 | 6 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 122 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 122 | else if constexpr (std::is_object_v<T>) { | 688 | 122 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 122 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 6 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6 | else if constexpr (std::is_object_v<T>) { | 688 | 6 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 8 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 8 | else if constexpr (std::is_object_v<T>) { | 688 | 8 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 8 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 120 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 120 | else if constexpr (std::is_object_v<T>) { | 688 | 120 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 120 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 6 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6 | else if constexpr (std::is_object_v<T>) { | 688 | 6 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 304 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 304 | else if constexpr (std::is_object_v<T>) { | 688 | 304 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 304 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 7.87k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 7.87k | else if constexpr (std::is_object_v<T>) { | 688 | 7.87k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 7.87k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 94 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 94 | else if constexpr (std::is_object_v<T>) { | 688 | 94 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 94 | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 3.76k | { | 684 | 3.76k | if constexpr (std::is_const_v<T>) { | 685 | 3.76k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 3.76k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 558 | { | 684 | 558 | if constexpr (std::is_const_v<T>) { | 685 | 558 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 558 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 21.6k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 21.6k | else if constexpr (std::is_object_v<T>) { | 688 | 21.6k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 21.6k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 486 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 486 | else if constexpr (std::is_object_v<T>) { | 688 | 486 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 486 | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 3.94k | { | 684 | 3.94k | if constexpr (std::is_const_v<T>) { | 685 | 3.94k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 3.94k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.27k | { | 684 | 1.27k | if constexpr (std::is_const_v<T>) { | 685 | 1.27k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.27k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_12basic_stringIT0_NSL_11char_traitsISX_EENSL_9allocatorISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISV_EENSJ_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISV_EENSI_9allocatorISV_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 94 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 94 | else if constexpr (std::is_object_v<T>) { | 688 | 94 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 94 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsIST_EENSG_9allocatorIST_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 486 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 486 | else if constexpr (std::is_object_v<T>) { | 688 | 486 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 486 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEcEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERNSL_17basic_string_viewIT0_NSL_11char_traitsISX_EEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISV_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 94 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 94 | else if constexpr (std::is_object_v<T>) { | 688 | 94 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 94 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEwEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsIST_EEEEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 486 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 486 | else if constexpr (std::is_object_v<T>) { | 688 | 486 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 486 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS6_9add_constIT_E4typeEEEEESD_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 628 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 628 | else if constexpr (std::is_object_v<T>) { | 688 | 628 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 718 | { | 684 | 718 | if constexpr (std::is_const_v<T>) { | 685 | 718 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 718 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 3.45k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 3.45k | else if constexpr (std::is_object_v<T>) { | 688 | 3.45k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 3.45k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 436 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 436 | else if constexpr (std::is_object_v<T>) { | 688 | 436 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 436 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 274 | { | 684 | 274 | if constexpr (std::is_const_v<T>) { | 685 | 274 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 274 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 860 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 860 | else if constexpr (std::is_object_v<T>) { | 688 | 860 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 860 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE |
694 | | }; |
695 | | } // namespace fnref_detail |
696 | | |
697 | | template <typename Sig, |
698 | | typename = typename fnref_detail::qual_fn_sig<Sig>::function> |
699 | | class function_ref; |
700 | | |
701 | | template <typename Sig, typename R, typename... Args> |
702 | | class function_ref<Sig, R(Args...)> : fnref_detail::base { |
703 | | using signature = fnref_detail::qual_fn_sig<Sig>; |
704 | | |
705 | | template <typename T> |
706 | | using cv = typename signature::template cv<T>; |
707 | | template <typename T> |
708 | | using cvref = cv<T>&; |
709 | | static constexpr bool noex = signature::is_noexcept; |
710 | | |
711 | | template <typename... T> |
712 | | static constexpr bool is_invocable_using = |
713 | | signature::template is_invocable_using<T...>; |
714 | | |
715 | | using fwd_t = R(storage, fnref_detail::param_t<Args>...) noexcept(noex); |
716 | | |
717 | | public: |
718 | | template <typename F, |
719 | | std::enable_if_t<std::is_function_v<F> && |
720 | | is_invocable_using<F>>* = nullptr> |
721 | | /*implicit*/ function_ref(F* f) noexcept |
722 | | : m_fptr([](storage fn, |
723 | | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { |
724 | | if constexpr (std::is_void_v<R>) { |
725 | | get<F>(fn)(static_cast<decltype(args)>(args)...); |
726 | | } |
727 | | else { |
728 | | return get<F>(fn)(static_cast<decltype(args)>(args)...); |
729 | | } |
730 | | }), |
731 | | m_storage(f) |
732 | | { |
733 | | SCN_EXPECT(f != nullptr); |
734 | | } |
735 | | |
736 | | template <typename F, |
737 | | typename T = std::remove_reference_t<F>, |
738 | | std::enable_if_t<detail::is_not_self<F, function_ref> && |
739 | | !std::is_member_pointer_v<T> && |
740 | | is_invocable_using<cvref<T>>>* = nullptr> |
741 | | /*implicit*/ constexpr function_ref(F&& f) noexcept |
742 | 83.0k | : m_fptr([](storage fn, |
743 | 718k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { |
744 | 718k | cvref<T> obj = *get<T>(fn); |
745 | 718k | if constexpr (std::is_void_v<R>) { |
746 | 49.2k | obj(static_cast<decltype(args)>(args)...); |
747 | | } |
748 | 669k | else { |
749 | 669k | return obj(static_cast<decltype(args)>(args)...); |
750 | 669k | } |
751 | 718k | }), _ZZN3scn2v44impl12function_refIFbcES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEcE_clESK_c Line | Count | Source | 743 | 6.75k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6.75k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6.75k | else { | 749 | 6.75k | return obj(static_cast<decltype(args)>(args)...); | 750 | 6.75k | } | 751 | 6.75k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES17_c _ZZN3scn2v44impl12function_refIFbDiES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEDiE_clESK_Di Line | Count | Source | 743 | 290k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 290k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 290k | else { | 749 | 290k | return obj(static_cast<decltype(args)>(args)...); | 750 | 290k | } | 751 | 290k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES12_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ENKUlNS1_12fnref_detail4base7storageEcE_clES19_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEcE_clES11_c _ZZN3scn2v44impl12function_refIFvDiES3_EC1IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ENKUlNS1_12fnref_detail4base7storageEDiE_clESO_Di Line | Count | Source | 743 | 42.4k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 42.4k | cvref<T> obj = *get<T>(fn); | 745 | 42.4k | if constexpr (std::is_void_v<R>) { | 746 | 42.4k | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | | else { | 749 | | return obj(static_cast<decltype(args)>(args)...); | 750 | | } | 751 | 42.4k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEDiE_clESX_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ENKUlNS1_12fnref_detail4base7storageEcE_clES11_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageEcE_clES16_c Line | Count | Source | 743 | 982 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 982 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 982 | else { | 749 | 982 | return obj(static_cast<decltype(args)>(args)...); | 750 | 982 | } | 751 | 982 | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Line | Count | Source | 743 | 948 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 948 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 948 | else { | 749 | 948 | return obj(static_cast<decltype(args)>(args)...); | 750 | 948 | } | 751 | 948 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 1.38k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.38k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.38k | else { | 749 | 1.38k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.38k | } | 751 | 1.38k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Line | Count | Source | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ENKUlNS1_12fnref_detail4base7storageEcE_clES1A_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Line | Count | Source | 743 | 330 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 330 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 330 | else { | 749 | 330 | return obj(static_cast<decltype(args)>(args)...); | 750 | 330 | } | 751 | 330 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEcE_clES12_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Line | Count | Source | 743 | 22 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 22 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 22 | else { | 749 | 22 | return obj(static_cast<decltype(args)>(args)...); | 750 | 22 | } | 751 | 22 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 328 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 328 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 328 | else { | 749 | 328 | return obj(static_cast<decltype(args)>(args)...); | 750 | 328 | } | 751 | 328 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 270 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 270 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 270 | else { | 749 | 270 | return obj(static_cast<decltype(args)>(args)...); | 750 | 270 | } | 751 | 270 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1F_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEDiE_clES18_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES16_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES16_c _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 14.0k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 14.0k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 14.0k | else { | 749 | 14.0k | return obj(static_cast<decltype(args)>(args)...); | 750 | 14.0k | } | 751 | 14.0k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Line | Count | Source | 743 | 1.17k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.17k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.17k | else { | 749 | 1.17k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.17k | } | 751 | 1.17k | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES15_Di Line | Count | Source | 743 | 12.7k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 12.7k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 12.7k | else { | 749 | 12.7k | return obj(static_cast<decltype(args)>(args)...); | 750 | 12.7k | } | 751 | 12.7k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Line | Count | Source | 743 | 7.20k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 7.20k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 7.20k | else { | 749 | 7.20k | return obj(static_cast<decltype(args)>(args)...); | 750 | 7.20k | } | 751 | 7.20k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Line | Count | Source | 743 | 698 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 698 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 698 | else { | 749 | 698 | return obj(static_cast<decltype(args)>(args)...); | 750 | 698 | } | 751 | 698 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clES13_Di Line | Count | Source | 743 | 260k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 260k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 260k | else { | 749 | 260k | return obj(static_cast<decltype(args)>(args)...); | 750 | 260k | } | 751 | 260k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Line | Count | Source | 743 | 3.36k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.36k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 3.36k | else { | 749 | 3.36k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.36k | } | 751 | 3.36k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1F_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Line | Count | Source | 743 | 1.17k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.17k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.17k | else { | 749 | 1.17k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.17k | } | 751 | 1.17k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Line | Count | Source | 743 | 698 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 698 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 698 | else { | 749 | 698 | return obj(static_cast<decltype(args)>(args)...); | 750 | 698 | } | 751 | 698 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Line | Count | Source | 743 | 1.17k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.17k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.17k | else { | 749 | 1.17k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.17k | } | 751 | 1.17k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES19_c Line | Count | Source | 743 | 698 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 698 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 698 | else { | 749 | 698 | return obj(static_cast<decltype(args)>(args)...); | 750 | 698 | } | 751 | 698 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES19_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di _ZZN3scn2v44impl12function_refIFbwES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEwE_clESK_w Line | Count | Source | 743 | 3.15k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.15k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 3.15k | else { | 749 | 3.15k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.15k | } | 751 | 3.15k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES17_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES12_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ENKUlNS1_12fnref_detail4base7storageEwE_clES19_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEwE_clES11_w _ZZN3scn2v44impl12function_refIFvDiES3_EC1IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ENKUlNS1_12fnref_detail4base7storageEDiE_clESO_Di Line | Count | Source | 743 | 6.80k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6.80k | cvref<T> obj = *get<T>(fn); | 745 | 6.80k | if constexpr (std::is_void_v<R>) { | 746 | 6.80k | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | | else { | 749 | | return obj(static_cast<decltype(args)>(args)...); | 750 | | } | 751 | 6.80k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEDiE_clESX_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ENKUlNS1_12fnref_detail4base7storageEwE_clES11_w _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ENKUlNS1_12fnref_detail4base7storageEDiE_clESU_Di Line | Count | Source | 743 | 2.39k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.39k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 2.39k | else { | 749 | 2.39k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.39k | } | 751 | 2.39k | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageEwE_clES16_w Line | Count | Source | 743 | 382 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 382 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 382 | else { | 749 | 382 | return obj(static_cast<decltype(args)>(args)...); | 750 | 382 | } | 751 | 382 | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Line | Count | Source | 743 | 952 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 952 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 952 | else { | 749 | 952 | return obj(static_cast<decltype(args)>(args)...); | 750 | 952 | } | 751 | 952 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 342 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 342 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 342 | else { | 749 | 342 | return obj(static_cast<decltype(args)>(args)...); | 750 | 342 | } | 751 | 342 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Line | Count | Source | 743 | 9.88k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 9.88k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 9.88k | else { | 749 | 9.88k | return obj(static_cast<decltype(args)>(args)...); | 750 | 9.88k | } | 751 | 9.88k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Line | Count | Source | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ENKUlNS1_12fnref_detail4base7storageEwE_clES1A_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Line | Count | Source | 743 | 122 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 122 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 122 | else { | 749 | 122 | return obj(static_cast<decltype(args)>(args)...); | 750 | 122 | } | 751 | 122 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEwE_clES12_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Line | Count | Source | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 120 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 120 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 120 | else { | 749 | 120 | return obj(static_cast<decltype(args)>(args)...); | 750 | 120 | } | 751 | 120 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 304 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 304 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 304 | else { | 749 | 304 | return obj(static_cast<decltype(args)>(args)...); | 750 | 304 | } | 751 | 304 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1F_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEDiE_clES18_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES16_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES16_w _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 7.87k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 7.87k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 7.87k | else { | 749 | 7.87k | return obj(static_cast<decltype(args)>(args)...); | 750 | 7.87k | } | 751 | 7.87k | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Line | Count | Source | 743 | 94 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 94 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 94 | else { | 749 | 94 | return obj(static_cast<decltype(args)>(args)...); | 750 | 94 | } | 751 | 94 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES15_Di Line | Count | Source | 743 | 3.76k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.76k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 3.76k | else { | 749 | 3.76k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.76k | } | 751 | 3.76k | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Line | Count | Source | 743 | 558 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 558 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 558 | else { | 749 | 558 | return obj(static_cast<decltype(args)>(args)...); | 750 | 558 | } | 751 | 558 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Line | Count | Source | 743 | 21.6k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 21.6k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 21.6k | else { | 749 | 21.6k | return obj(static_cast<decltype(args)>(args)...); | 750 | 21.6k | } | 751 | 21.6k | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Line | Count | Source | 743 | 486 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 486 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 486 | else { | 749 | 486 | return obj(static_cast<decltype(args)>(args)...); | 750 | 486 | } | 751 | 486 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clES13_Di Line | Count | Source | 743 | 3.94k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.94k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 3.94k | else { | 749 | 3.94k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.94k | } | 751 | 3.94k | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Line | Count | Source | 743 | 1.27k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.27k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.27k | else { | 749 | 1.27k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.27k | } | 751 | 1.27k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1F_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Line | Count | Source | 743 | 94 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 94 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 94 | else { | 749 | 94 | return obj(static_cast<decltype(args)>(args)...); | 750 | 94 | } | 751 | 94 | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Line | Count | Source | 743 | 486 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 486 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 486 | else { | 749 | 486 | return obj(static_cast<decltype(args)>(args)...); | 750 | 486 | } | 751 | 486 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES19_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Line | Count | Source | 743 | 94 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 94 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 94 | else { | 749 | 94 | return obj(static_cast<decltype(args)>(args)...); | 750 | 94 | } | 751 | 94 | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES19_w Line | Count | Source | 743 | 486 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 486 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 486 | else { | 749 | 486 | return obj(static_cast<decltype(args)>(args)...); | 750 | 486 | } | 751 | 486 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ENKUlNS1_12fnref_detail4base7storageEDiE_clESU_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Line | Count | Source | 743 | 628 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 628 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 628 | else { | 749 | 628 | return obj(static_cast<decltype(args)>(args)...); | 750 | 628 | } | 751 | 628 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Line | Count | Source | 743 | 718 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 718 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 718 | else { | 749 | 718 | return obj(static_cast<decltype(args)>(args)...); | 750 | 718 | } | 751 | 718 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Line | Count | Source | 743 | 3.45k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.45k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 3.45k | else { | 749 | 3.45k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.45k | } | 751 | 3.45k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Line | Count | Source | 743 | 436 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 436 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 436 | else { | 749 | 436 | return obj(static_cast<decltype(args)>(args)...); | 750 | 436 | } | 751 | 436 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Line | Count | Source | 743 | 274 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 274 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 274 | else { | 749 | 274 | return obj(static_cast<decltype(args)>(args)...); | 750 | 274 | } | 751 | 274 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Line | Count | Source | 743 | 860 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 860 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 860 | else { | 749 | 860 | return obj(static_cast<decltype(args)>(args)...); | 750 | 860 | } | 751 | 860 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ |
752 | 83.0k | m_storage(std::addressof(f)) |
753 | 83.0k | { |
754 | 83.0k | } _ZN3scn2v44impl12function_refIFbcES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 2.68k | : m_fptr([](storage fn, | 743 | 2.68k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.68k | cvref<T> obj = *get<T>(fn); | 745 | 2.68k | if constexpr (std::is_void_v<R>) { | 746 | 2.68k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.68k | } | 748 | 2.68k | else { | 749 | 2.68k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.68k | } | 751 | 2.68k | }), | 752 | 2.68k | m_storage(std::addressof(f)) | 753 | 2.68k | { | 754 | 2.68k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbDiES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 16.8k | : m_fptr([](storage fn, | 743 | 16.8k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 16.8k | cvref<T> obj = *get<T>(fn); | 745 | 16.8k | if constexpr (std::is_void_v<R>) { | 746 | 16.8k | obj(static_cast<decltype(args)>(args)...); | 747 | 16.8k | } | 748 | 16.8k | else { | 749 | 16.8k | return obj(static_cast<decltype(args)>(args)...); | 750 | 16.8k | } | 751 | 16.8k | }), | 752 | 16.8k | m_storage(std::addressof(f)) | 753 | 16.8k | { | 754 | 16.8k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ _ZN3scn2v44impl12function_refIFvDiES3_EC2IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ Line | Count | Source | 742 | 31.2k | : m_fptr([](storage fn, | 743 | 31.2k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 31.2k | cvref<T> obj = *get<T>(fn); | 745 | 31.2k | if constexpr (std::is_void_v<R>) { | 746 | 31.2k | obj(static_cast<decltype(args)>(args)...); | 747 | 31.2k | } | 748 | 31.2k | else { | 749 | 31.2k | return obj(static_cast<decltype(args)>(args)...); | 750 | 31.2k | } | 751 | 31.2k | }), | 752 | 31.2k | m_storage(std::addressof(f)) | 753 | 31.2k | { | 754 | 31.2k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 982 | : m_fptr([](storage fn, | 743 | 982 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 982 | cvref<T> obj = *get<T>(fn); | 745 | 982 | if constexpr (std::is_void_v<R>) { | 746 | 982 | obj(static_cast<decltype(args)>(args)...); | 747 | 982 | } | 748 | 982 | else { | 749 | 982 | return obj(static_cast<decltype(args)>(args)...); | 750 | 982 | } | 751 | 982 | }), | 752 | 982 | m_storage(std::addressof(f)) | 753 | 982 | { | 754 | 982 | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 742 | 530 | : m_fptr([](storage fn, | 743 | 530 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 530 | cvref<T> obj = *get<T>(fn); | 745 | 530 | if constexpr (std::is_void_v<R>) { | 746 | 530 | obj(static_cast<decltype(args)>(args)...); | 747 | 530 | } | 748 | 530 | else { | 749 | 530 | return obj(static_cast<decltype(args)>(args)...); | 750 | 530 | } | 751 | 530 | }), | 752 | 530 | m_storage(std::addressof(f)) | 753 | 530 | { | 754 | 530 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 536 | : m_fptr([](storage fn, | 743 | 536 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 536 | cvref<T> obj = *get<T>(fn); | 745 | 536 | if constexpr (std::is_void_v<R>) { | 746 | 536 | obj(static_cast<decltype(args)>(args)...); | 747 | 536 | } | 748 | 536 | else { | 749 | 536 | return obj(static_cast<decltype(args)>(args)...); | 750 | 536 | } | 751 | 536 | }), | 752 | 536 | m_storage(std::addressof(f)) | 753 | 536 | { | 754 | 536 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 6 | : m_fptr([](storage fn, | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | 6 | if constexpr (std::is_void_v<R>) { | 746 | 6 | obj(static_cast<decltype(args)>(args)...); | 747 | 6 | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), | 752 | 6 | m_storage(std::addressof(f)) | 753 | 6 | { | 754 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 330 | : m_fptr([](storage fn, | 743 | 330 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 330 | cvref<T> obj = *get<T>(fn); | 745 | 330 | if constexpr (std::is_void_v<R>) { | 746 | 330 | obj(static_cast<decltype(args)>(args)...); | 747 | 330 | } | 748 | 330 | else { | 749 | 330 | return obj(static_cast<decltype(args)>(args)...); | 750 | 330 | } | 751 | 330 | }), | 752 | 330 | m_storage(std::addressof(f)) | 753 | 330 | { | 754 | 330 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 22 | : m_fptr([](storage fn, | 743 | 22 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 22 | cvref<T> obj = *get<T>(fn); | 745 | 22 | if constexpr (std::is_void_v<R>) { | 746 | 22 | obj(static_cast<decltype(args)>(args)...); | 747 | 22 | } | 748 | 22 | else { | 749 | 22 | return obj(static_cast<decltype(args)>(args)...); | 750 | 22 | } | 751 | 22 | }), | 752 | 22 | m_storage(std::addressof(f)) | 753 | 22 | { | 754 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 8 | : m_fptr([](storage fn, | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | 8 | if constexpr (std::is_void_v<R>) { | 746 | 8 | obj(static_cast<decltype(args)>(args)...); | 747 | 8 | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), | 752 | 8 | m_storage(std::addressof(f)) | 753 | 8 | { | 754 | 8 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 328 | : m_fptr([](storage fn, | 743 | 328 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 328 | cvref<T> obj = *get<T>(fn); | 745 | 328 | if constexpr (std::is_void_v<R>) { | 746 | 328 | obj(static_cast<decltype(args)>(args)...); | 747 | 328 | } | 748 | 328 | else { | 749 | 328 | return obj(static_cast<decltype(args)>(args)...); | 750 | 328 | } | 751 | 328 | }), | 752 | 328 | m_storage(std::addressof(f)) | 753 | 328 | { | 754 | 328 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 6 | : m_fptr([](storage fn, | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | 6 | if constexpr (std::is_void_v<R>) { | 746 | 6 | obj(static_cast<decltype(args)>(args)...); | 747 | 6 | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), | 752 | 6 | m_storage(std::addressof(f)) | 753 | 6 | { | 754 | 6 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 270 | : m_fptr([](storage fn, | 743 | 270 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 270 | cvref<T> obj = *get<T>(fn); | 745 | 270 | if constexpr (std::is_void_v<R>) { | 746 | 270 | obj(static_cast<decltype(args)>(args)...); | 747 | 270 | } | 748 | 270 | else { | 749 | 270 | return obj(static_cast<decltype(args)>(args)...); | 750 | 270 | } | 751 | 270 | }), | 752 | 270 | m_storage(std::addressof(f)) | 753 | 270 | { | 754 | 270 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 912 | : m_fptr([](storage fn, | 743 | 912 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 912 | cvref<T> obj = *get<T>(fn); | 745 | 912 | if constexpr (std::is_void_v<R>) { | 746 | 912 | obj(static_cast<decltype(args)>(args)...); | 747 | 912 | } | 748 | 912 | else { | 749 | 912 | return obj(static_cast<decltype(args)>(args)...); | 750 | 912 | } | 751 | 912 | }), | 752 | 912 | m_storage(std::addressof(f)) | 753 | 912 | { | 754 | 912 | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 46 | : m_fptr([](storage fn, | 743 | 46 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 46 | cvref<T> obj = *get<T>(fn); | 745 | 46 | if constexpr (std::is_void_v<R>) { | 746 | 46 | obj(static_cast<decltype(args)>(args)...); | 747 | 46 | } | 748 | 46 | else { | 749 | 46 | return obj(static_cast<decltype(args)>(args)...); | 750 | 46 | } | 751 | 46 | }), | 752 | 46 | m_storage(std::addressof(f)) | 753 | 46 | { | 754 | 46 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 474 | : m_fptr([](storage fn, | 743 | 474 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 474 | cvref<T> obj = *get<T>(fn); | 745 | 474 | if constexpr (std::is_void_v<R>) { | 746 | 474 | obj(static_cast<decltype(args)>(args)...); | 747 | 474 | } | 748 | 474 | else { | 749 | 474 | return obj(static_cast<decltype(args)>(args)...); | 750 | 474 | } | 751 | 474 | }), | 752 | 474 | m_storage(std::addressof(f)) | 753 | 474 | { | 754 | 474 | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 354 | : m_fptr([](storage fn, | 743 | 354 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 354 | cvref<T> obj = *get<T>(fn); | 745 | 354 | if constexpr (std::is_void_v<R>) { | 746 | 354 | obj(static_cast<decltype(args)>(args)...); | 747 | 354 | } | 748 | 354 | else { | 749 | 354 | return obj(static_cast<decltype(args)>(args)...); | 750 | 354 | } | 751 | 354 | }), | 752 | 354 | m_storage(std::addressof(f)) | 753 | 354 | { | 754 | 354 | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 2.32k | : m_fptr([](storage fn, | 743 | 2.32k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.32k | cvref<T> obj = *get<T>(fn); | 745 | 2.32k | if constexpr (std::is_void_v<R>) { | 746 | 2.32k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.32k | } | 748 | 2.32k | else { | 749 | 2.32k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.32k | } | 751 | 2.32k | }), | 752 | 2.32k | m_storage(std::addressof(f)) | 753 | 2.32k | { | 754 | 2.32k | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 252 | : m_fptr([](storage fn, | 743 | 252 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 252 | cvref<T> obj = *get<T>(fn); | 745 | 252 | if constexpr (std::is_void_v<R>) { | 746 | 252 | obj(static_cast<decltype(args)>(args)...); | 747 | 252 | } | 748 | 252 | else { | 749 | 252 | return obj(static_cast<decltype(args)>(args)...); | 750 | 252 | } | 751 | 252 | }), | 752 | 252 | m_storage(std::addressof(f)) | 753 | 252 | { | 754 | 252 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlcE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlcE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlcE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 46 | : m_fptr([](storage fn, | 743 | 46 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 46 | cvref<T> obj = *get<T>(fn); | 745 | 46 | if constexpr (std::is_void_v<R>) { | 746 | 46 | obj(static_cast<decltype(args)>(args)...); | 747 | 46 | } | 748 | 46 | else { | 749 | 46 | return obj(static_cast<decltype(args)>(args)...); | 750 | 46 | } | 751 | 46 | }), | 752 | 46 | m_storage(std::addressof(f)) | 753 | 46 | { | 754 | 46 | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlcE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 46 | : m_fptr([](storage fn, | 743 | 46 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 46 | cvref<T> obj = *get<T>(fn); | 745 | 46 | if constexpr (std::is_void_v<R>) { | 746 | 46 | obj(static_cast<decltype(args)>(args)...); | 747 | 46 | } | 748 | 46 | else { | 749 | 46 | return obj(static_cast<decltype(args)>(args)...); | 750 | 46 | } | 751 | 46 | }), | 752 | 46 | m_storage(std::addressof(f)) | 753 | 46 | { | 754 | 46 | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlcE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlcE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlcE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlcE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v44impl12function_refIFbwES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 1.35k | : m_fptr([](storage fn, | 743 | 1.35k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.35k | cvref<T> obj = *get<T>(fn); | 745 | 1.35k | if constexpr (std::is_void_v<R>) { | 746 | 1.35k | obj(static_cast<decltype(args)>(args)...); | 747 | 1.35k | } | 748 | 1.35k | else { | 749 | 1.35k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.35k | } | 751 | 1.35k | }), | 752 | 1.35k | m_storage(std::addressof(f)) | 753 | 1.35k | { | 754 | 1.35k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ _ZN3scn2v44impl12function_refIFvDiES3_EC2IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ Line | Count | Source | 742 | 3.00k | : m_fptr([](storage fn, | 743 | 3.00k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.00k | cvref<T> obj = *get<T>(fn); | 745 | 3.00k | if constexpr (std::is_void_v<R>) { | 746 | 3.00k | obj(static_cast<decltype(args)>(args)...); | 747 | 3.00k | } | 748 | 3.00k | else { | 749 | 3.00k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.00k | } | 751 | 3.00k | }), | 752 | 3.00k | m_storage(std::addressof(f)) | 753 | 3.00k | { | 754 | 3.00k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 742 | 2.11k | : m_fptr([](storage fn, | 743 | 2.11k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.11k | cvref<T> obj = *get<T>(fn); | 745 | 2.11k | if constexpr (std::is_void_v<R>) { | 746 | 2.11k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.11k | } | 748 | 2.11k | else { | 749 | 2.11k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.11k | } | 751 | 2.11k | }), | 752 | 2.11k | m_storage(std::addressof(f)) | 753 | 2.11k | { | 754 | 2.11k | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 382 | : m_fptr([](storage fn, | 743 | 382 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 382 | cvref<T> obj = *get<T>(fn); | 745 | 382 | if constexpr (std::is_void_v<R>) { | 746 | 382 | obj(static_cast<decltype(args)>(args)...); | 747 | 382 | } | 748 | 382 | else { | 749 | 382 | return obj(static_cast<decltype(args)>(args)...); | 750 | 382 | } | 751 | 382 | }), | 752 | 382 | m_storage(std::addressof(f)) | 753 | 382 | { | 754 | 382 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 742 | 498 | : m_fptr([](storage fn, | 743 | 498 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 498 | cvref<T> obj = *get<T>(fn); | 745 | 498 | if constexpr (std::is_void_v<R>) { | 746 | 498 | obj(static_cast<decltype(args)>(args)...); | 747 | 498 | } | 748 | 498 | else { | 749 | 498 | return obj(static_cast<decltype(args)>(args)...); | 750 | 498 | } | 751 | 498 | }), | 752 | 498 | m_storage(std::addressof(f)) | 753 | 498 | { | 754 | 498 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 264 | : m_fptr([](storage fn, | 743 | 264 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 264 | cvref<T> obj = *get<T>(fn); | 745 | 264 | if constexpr (std::is_void_v<R>) { | 746 | 264 | obj(static_cast<decltype(args)>(args)...); | 747 | 264 | } | 748 | 264 | else { | 749 | 264 | return obj(static_cast<decltype(args)>(args)...); | 750 | 264 | } | 751 | 264 | }), | 752 | 264 | m_storage(std::addressof(f)) | 753 | 264 | { | 754 | 264 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Line | Count | Source | 742 | 8.09k | : m_fptr([](storage fn, | 743 | 8.09k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8.09k | cvref<T> obj = *get<T>(fn); | 745 | 8.09k | if constexpr (std::is_void_v<R>) { | 746 | 8.09k | obj(static_cast<decltype(args)>(args)...); | 747 | 8.09k | } | 748 | 8.09k | else { | 749 | 8.09k | return obj(static_cast<decltype(args)>(args)...); | 750 | 8.09k | } | 751 | 8.09k | }), | 752 | 8.09k | m_storage(std::addressof(f)) | 753 | 8.09k | { | 754 | 8.09k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 6 | : m_fptr([](storage fn, | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | 6 | if constexpr (std::is_void_v<R>) { | 746 | 6 | obj(static_cast<decltype(args)>(args)...); | 747 | 6 | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), | 752 | 6 | m_storage(std::addressof(f)) | 753 | 6 | { | 754 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 122 | : m_fptr([](storage fn, | 743 | 122 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 122 | cvref<T> obj = *get<T>(fn); | 745 | 122 | if constexpr (std::is_void_v<R>) { | 746 | 122 | obj(static_cast<decltype(args)>(args)...); | 747 | 122 | } | 748 | 122 | else { | 749 | 122 | return obj(static_cast<decltype(args)>(args)...); | 750 | 122 | } | 751 | 122 | }), | 752 | 122 | m_storage(std::addressof(f)) | 753 | 122 | { | 754 | 122 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 6 | : m_fptr([](storage fn, | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | 6 | if constexpr (std::is_void_v<R>) { | 746 | 6 | obj(static_cast<decltype(args)>(args)...); | 747 | 6 | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), | 752 | 6 | m_storage(std::addressof(f)) | 753 | 6 | { | 754 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 8 | : m_fptr([](storage fn, | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | 8 | if constexpr (std::is_void_v<R>) { | 746 | 8 | obj(static_cast<decltype(args)>(args)...); | 747 | 8 | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), | 752 | 8 | m_storage(std::addressof(f)) | 753 | 8 | { | 754 | 8 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 120 | : m_fptr([](storage fn, | 743 | 120 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 120 | cvref<T> obj = *get<T>(fn); | 745 | 120 | if constexpr (std::is_void_v<R>) { | 746 | 120 | obj(static_cast<decltype(args)>(args)...); | 747 | 120 | } | 748 | 120 | else { | 749 | 120 | return obj(static_cast<decltype(args)>(args)...); | 750 | 120 | } | 751 | 120 | }), | 752 | 120 | m_storage(std::addressof(f)) | 753 | 120 | { | 754 | 120 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 6 | : m_fptr([](storage fn, | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | 6 | if constexpr (std::is_void_v<R>) { | 746 | 6 | obj(static_cast<decltype(args)>(args)...); | 747 | 6 | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), | 752 | 6 | m_storage(std::addressof(f)) | 753 | 6 | { | 754 | 6 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 304 | : m_fptr([](storage fn, | 743 | 304 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 304 | cvref<T> obj = *get<T>(fn); | 745 | 304 | if constexpr (std::is_void_v<R>) { | 746 | 304 | obj(static_cast<decltype(args)>(args)...); | 747 | 304 | } | 748 | 304 | else { | 749 | 304 | return obj(static_cast<decltype(args)>(args)...); | 750 | 304 | } | 751 | 304 | }), | 752 | 304 | m_storage(std::addressof(f)) | 753 | 304 | { | 754 | 304 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 330 | : m_fptr([](storage fn, | 743 | 330 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 330 | cvref<T> obj = *get<T>(fn); | 745 | 330 | if constexpr (std::is_void_v<R>) { | 746 | 330 | obj(static_cast<decltype(args)>(args)...); | 747 | 330 | } | 748 | 330 | else { | 749 | 330 | return obj(static_cast<decltype(args)>(args)...); | 750 | 330 | } | 751 | 330 | }), | 752 | 330 | m_storage(std::addressof(f)) | 753 | 330 | { | 754 | 330 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 18 | : m_fptr([](storage fn, | 743 | 18 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 18 | cvref<T> obj = *get<T>(fn); | 745 | 18 | if constexpr (std::is_void_v<R>) { | 746 | 18 | obj(static_cast<decltype(args)>(args)...); | 747 | 18 | } | 748 | 18 | else { | 749 | 18 | return obj(static_cast<decltype(args)>(args)...); | 750 | 18 | } | 751 | 18 | }), | 752 | 18 | m_storage(std::addressof(f)) | 753 | 18 | { | 754 | 18 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 222 | : m_fptr([](storage fn, | 743 | 222 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 222 | cvref<T> obj = *get<T>(fn); | 745 | 222 | if constexpr (std::is_void_v<R>) { | 746 | 222 | obj(static_cast<decltype(args)>(args)...); | 747 | 222 | } | 748 | 222 | else { | 749 | 222 | return obj(static_cast<decltype(args)>(args)...); | 750 | 222 | } | 751 | 222 | }), | 752 | 222 | m_storage(std::addressof(f)) | 753 | 222 | { | 754 | 222 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 108 | : m_fptr([](storage fn, | 743 | 108 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 108 | cvref<T> obj = *get<T>(fn); | 745 | 108 | if constexpr (std::is_void_v<R>) { | 746 | 108 | obj(static_cast<decltype(args)>(args)...); | 747 | 108 | } | 748 | 108 | else { | 749 | 108 | return obj(static_cast<decltype(args)>(args)...); | 750 | 108 | } | 751 | 108 | }), | 752 | 108 | m_storage(std::addressof(f)) | 753 | 108 | { | 754 | 108 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Line | Count | Source | 742 | 2.20k | : m_fptr([](storage fn, | 743 | 2.20k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.20k | cvref<T> obj = *get<T>(fn); | 745 | 2.20k | if constexpr (std::is_void_v<R>) { | 746 | 2.20k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.20k | } | 748 | 2.20k | else { | 749 | 2.20k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.20k | } | 751 | 2.20k | }), | 752 | 2.20k | m_storage(std::addressof(f)) | 753 | 2.20k | { | 754 | 2.20k | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 36 | : m_fptr([](storage fn, | 743 | 36 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 36 | cvref<T> obj = *get<T>(fn); | 745 | 36 | if constexpr (std::is_void_v<R>) { | 746 | 36 | obj(static_cast<decltype(args)>(args)...); | 747 | 36 | } | 748 | 36 | else { | 749 | 36 | return obj(static_cast<decltype(args)>(args)...); | 750 | 36 | } | 751 | 36 | }), | 752 | 36 | m_storage(std::addressof(f)) | 753 | 36 | { | 754 | 36 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 318 | : m_fptr([](storage fn, | 743 | 318 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 318 | cvref<T> obj = *get<T>(fn); | 745 | 318 | if constexpr (std::is_void_v<R>) { | 746 | 318 | obj(static_cast<decltype(args)>(args)...); | 747 | 318 | } | 748 | 318 | else { | 749 | 318 | return obj(static_cast<decltype(args)>(args)...); | 750 | 318 | } | 751 | 318 | }), | 752 | 318 | m_storage(std::addressof(f)) | 753 | 318 | { | 754 | 318 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 96 | : m_fptr([](storage fn, | 743 | 96 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 96 | cvref<T> obj = *get<T>(fn); | 745 | 96 | if constexpr (std::is_void_v<R>) { | 746 | 96 | obj(static_cast<decltype(args)>(args)...); | 747 | 96 | } | 748 | 96 | else { | 749 | 96 | return obj(static_cast<decltype(args)>(args)...); | 750 | 96 | } | 751 | 96 | }), | 752 | 96 | m_storage(std::addressof(f)) | 753 | 96 | { | 754 | 96 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_12basic_stringIT0_NSM_11char_traitsISY_EENSM_9allocatorISY_EEEEEUlwE_S15_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_12basic_stringIT0_NSK_11char_traitsISW_EENSK_9allocatorISW_EEEEEUlwE_S13_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_12basic_stringIT0_NSJ_11char_traitsISW_EENSJ_9allocatorISW_EEEEEUlwE_S13_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 18 | : m_fptr([](storage fn, | 743 | 18 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 18 | cvref<T> obj = *get<T>(fn); | 745 | 18 | if constexpr (std::is_void_v<R>) { | 746 | 18 | obj(static_cast<decltype(args)>(args)...); | 747 | 18 | } | 748 | 18 | else { | 749 | 18 | return obj(static_cast<decltype(args)>(args)...); | 750 | 18 | } | 751 | 18 | }), | 752 | 18 | m_storage(std::addressof(f)) | 753 | 18 | { | 754 | 18 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_12basic_stringIT0_NSH_11char_traitsISU_EENSH_9allocatorISU_EEEEEUlwE_S11_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 36 | : m_fptr([](storage fn, | 743 | 36 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 36 | cvref<T> obj = *get<T>(fn); | 745 | 36 | if constexpr (std::is_void_v<R>) { | 746 | 36 | obj(static_cast<decltype(args)>(args)...); | 747 | 36 | } | 748 | 36 | else { | 749 | 36 | return obj(static_cast<decltype(args)>(args)...); | 750 | 36 | } | 751 | 36 | }), | 752 | 36 | m_storage(std::addressof(f)) | 753 | 36 | { | 754 | 36 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEcEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEcEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERNSM_17basic_string_viewIT0_NSM_11char_traitsISY_EEEEEUlwE_S13_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERNSK_17basic_string_viewIT0_NSK_11char_traitsISW_EEEEEUlwE_S11_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEwEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERNSJ_17basic_string_viewIT0_NSJ_11char_traitsISW_EEEEEUlwE_S11_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vISW_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 18 | : m_fptr([](storage fn, | 743 | 18 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 18 | cvref<T> obj = *get<T>(fn); | 745 | 18 | if constexpr (std::is_void_v<R>) { | 746 | 18 | obj(static_cast<decltype(args)>(args)...); | 747 | 18 | } | 748 | 18 | else { | 749 | 18 | return obj(static_cast<decltype(args)>(args)...); | 750 | 18 | } | 751 | 18 | }), | 752 | 18 | m_storage(std::addressof(f)) | 753 | 18 | { | 754 | 18 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEwEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERNSH_17basic_string_viewIT0_NSH_11char_traitsISU_EEEEEUlwE_SZ_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vISU_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 36 | : m_fptr([](storage fn, | 743 | 36 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 36 | cvref<T> obj = *get<T>(fn); | 745 | 36 | if constexpr (std::is_void_v<R>) { | 746 | 36 | obj(static_cast<decltype(args)>(args)...); | 747 | 36 | } | 748 | 36 | else { | 749 | 36 | return obj(static_cast<decltype(args)>(args)...); | 750 | 36 | } | 751 | 36 | }), | 752 | 36 | m_storage(std::addressof(f)) | 753 | 36 | { | 754 | 36 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 628 | : m_fptr([](storage fn, | 743 | 628 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 628 | cvref<T> obj = *get<T>(fn); | 745 | 628 | if constexpr (std::is_void_v<R>) { | 746 | 628 | obj(static_cast<decltype(args)>(args)...); | 747 | 628 | } | 748 | 628 | else { | 749 | 628 | return obj(static_cast<decltype(args)>(args)...); | 750 | 628 | } | 751 | 628 | }), | 752 | 628 | m_storage(std::addressof(f)) | 753 | 628 | { | 754 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 504 | : m_fptr([](storage fn, | 743 | 504 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 504 | cvref<T> obj = *get<T>(fn); | 745 | 504 | if constexpr (std::is_void_v<R>) { | 746 | 504 | obj(static_cast<decltype(args)>(args)...); | 747 | 504 | } | 748 | 504 | else { | 749 | 504 | return obj(static_cast<decltype(args)>(args)...); | 750 | 504 | } | 751 | 504 | }), | 752 | 504 | m_storage(std::addressof(f)) | 753 | 504 | { | 754 | 504 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 2.29k | : m_fptr([](storage fn, | 743 | 2.29k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.29k | cvref<T> obj = *get<T>(fn); | 745 | 2.29k | if constexpr (std::is_void_v<R>) { | 746 | 2.29k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.29k | } | 748 | 2.29k | else { | 749 | 2.29k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.29k | } | 751 | 2.29k | }), | 752 | 2.29k | m_storage(std::addressof(f)) | 753 | 2.29k | { | 754 | 2.29k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 436 | : m_fptr([](storage fn, | 743 | 436 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 436 | cvref<T> obj = *get<T>(fn); | 745 | 436 | if constexpr (std::is_void_v<R>) { | 746 | 436 | obj(static_cast<decltype(args)>(args)...); | 747 | 436 | } | 748 | 436 | else { | 749 | 436 | return obj(static_cast<decltype(args)>(args)...); | 750 | 436 | } | 751 | 436 | }), | 752 | 436 | m_storage(std::addressof(f)) | 753 | 436 | { | 754 | 436 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 228 | : m_fptr([](storage fn, | 743 | 228 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 228 | cvref<T> obj = *get<T>(fn); | 745 | 228 | if constexpr (std::is_void_v<R>) { | 746 | 228 | obj(static_cast<decltype(args)>(args)...); | 747 | 228 | } | 748 | 228 | else { | 749 | 228 | return obj(static_cast<decltype(args)>(args)...); | 750 | 228 | } | 751 | 228 | }), | 752 | 228 | m_storage(std::addressof(f)) | 753 | 228 | { | 754 | 228 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 860 | : m_fptr([](storage fn, | 743 | 860 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 860 | cvref<T> obj = *get<T>(fn); | 745 | 860 | if constexpr (std::is_void_v<R>) { | 746 | 860 | obj(static_cast<decltype(args)>(args)...); | 747 | 860 | } | 748 | 860 | else { | 749 | 860 | return obj(static_cast<decltype(args)>(args)...); | 750 | 860 | } | 751 | 860 | }), | 752 | 860 | m_storage(std::addressof(f)) | 753 | 860 | { | 754 | 860 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ |
755 | | |
756 | | template <typename T, |
757 | | std::enable_if_t<detail::is_not_self<T, function_ref> && |
758 | | !std::is_pointer_v<T>>* = nullptr> |
759 | | function_ref& operator=(T) = delete; |
760 | | |
761 | | constexpr R operator()(Args... args) const noexcept(noex) |
762 | 718k | { |
763 | 718k | return m_fptr(m_storage, SCN_FWD(args)...); |
764 | 718k | } scn::v4::impl::function_ref<bool (char), bool (char)>::operator()(char) const Line | Count | Source | 762 | 25.9k | { | 763 | 25.9k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 25.9k | } |
scn::v4::impl::function_ref<bool (char32_t), bool (char32_t)>::operator()(char32_t) const Line | Count | Source | 762 | 632k | { | 763 | 632k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 632k | } |
scn::v4::impl::function_ref<void (char32_t), void (char32_t)>::operator()(char32_t) const Line | Count | Source | 762 | 49.2k | { | 763 | 49.2k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 49.2k | } |
Unexecuted instantiation: scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > (scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > (scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref) const Unexecuted instantiation: scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> (scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> (scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref) const scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > (scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > (scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v4::detail::locale_ref) const Line | Count | Source | 762 | 336 | { | 763 | 336 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 336 | } |
scn::v4::impl::function_ref<scn::v4::scan_expected<char const*> (scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v4::detail::locale_ref), scn::v4::scan_expected<char const*> (scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v4::detail::locale_ref) const Line | Count | Source | 762 | 904 | { | 763 | 904 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 904 | } |
scn::v4::impl::function_ref<bool (wchar_t), bool (wchar_t)>::operator()(wchar_t) const Line | Count | Source | 762 | 8.47k | { | 763 | 8.47k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 8.47k | } |
Unexecuted instantiation: scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > (scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > (scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref) const Unexecuted instantiation: scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> (scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> (scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref) const scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > (scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > (scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v4::detail::locale_ref) const Line | Count | Source | 762 | 128 | { | 763 | 128 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 128 | } |
scn::v4::impl::function_ref<scn::v4::scan_expected<wchar_t const*> (scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v4::detail::locale_ref), scn::v4::scan_expected<wchar_t const*> (scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v4::detail::locale_ref) const Line | Count | Source | 762 | 746 | { | 763 | 746 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 746 | } |
|
765 | | |
766 | | private: |
767 | | fwd_t* m_fptr{nullptr}; |
768 | | storage m_storage; |
769 | | }; |
770 | | |
771 | | template <typename F, std::enable_if_t<std::is_function_v<F>>* = nullptr> |
772 | | function_ref(F*) -> function_ref<F>; |
773 | | } // namespace impl |
774 | | |
775 | | ///////////////////////////////////////////////////////////////// |
776 | | // Internal error types |
777 | | ///////////////////////////////////////////////////////////////// |
778 | | |
779 | | namespace impl { |
780 | | enum class eof_error { good, eof }; |
781 | | |
782 | | inline constexpr bool operator!(eof_error e) |
783 | 44.9k | { |
784 | 44.9k | return e != eof_error::good; |
785 | 44.9k | } |
786 | | |
787 | | template <typename T> |
788 | | struct eof_expected : public expected<T, eof_error> { |
789 | | using base = expected<T, eof_error>; |
790 | | using base::base; |
791 | | |
792 | | constexpr eof_expected(const base& other) : base(other) {} |
793 | | constexpr eof_expected(base&& other) : base(SCN_MOVE(other)) {} |
794 | | }; |
795 | | |
796 | | inline constexpr auto make_eof_scan_error(eof_error err) |
797 | 222 | { |
798 | 222 | SCN_EXPECT(err == eof_error::eof); |
799 | 222 | return scan_error{scan_error::end_of_input, "EOF"}; |
800 | 222 | } |
801 | | |
802 | | struct SCN_TRIVIAL_ABI parse_error { |
803 | | enum code { good, eof, error }; |
804 | | using code_t = code; |
805 | | |
806 | | constexpr parse_error() = default; |
807 | 48.7k | constexpr parse_error(code c) : m_code(c) |
808 | 48.7k | { |
809 | 48.7k | SCN_UNLIKELY_ATTR SCN_UNUSED(m_code); |
810 | 48.7k | } |
811 | | |
812 | | constexpr explicit operator bool() const |
813 | 0 | { |
814 | 0 | return m_code == good; |
815 | 0 | } |
816 | | constexpr explicit operator code_t() const |
817 | 0 | { |
818 | 0 | return m_code; |
819 | 0 | } |
820 | | |
821 | | friend constexpr bool operator==(parse_error a, parse_error b) |
822 | 20.4k | { |
823 | 20.4k | return a.m_code == b.m_code; |
824 | 20.4k | } |
825 | | friend constexpr bool operator!=(parse_error a, parse_error b) |
826 | 3.97k | { |
827 | 3.97k | return !(a == b); |
828 | 3.97k | } |
829 | | |
830 | | private: |
831 | | code m_code{good}; |
832 | | }; |
833 | | |
834 | | template <typename T> |
835 | | struct parse_expected : public expected<T, parse_error> { |
836 | | using base = expected<T, parse_error>; |
837 | | using base::base; |
838 | | |
839 | | constexpr parse_expected(const base& other) : base(other) {} |
840 | | constexpr parse_expected(base&& other) : base(SCN_MOVE(other)) {} |
841 | | }; |
842 | | |
843 | | inline constexpr parse_error make_eof_parse_error(eof_error err) |
844 | 792 | { |
845 | 792 | SCN_EXPECT(err == eof_error::eof); |
846 | 792 | return parse_error::eof; |
847 | 792 | } |
848 | | |
849 | | inline constexpr scan_expected<void> make_scan_error_from_parse_error( |
850 | | parse_error err, |
851 | | enum scan_error::code code, |
852 | | const char* msg) |
853 | 3.97k | { |
854 | 3.97k | if (err == parse_error::good) { |
855 | 0 | return {}; |
856 | 0 | } |
857 | | |
858 | 3.97k | if (err == parse_error::eof) { |
859 | 94 | return detail::unexpected_scan_error(scan_error::end_of_input, "EOF"); |
860 | 94 | } |
861 | | |
862 | 3.87k | return detail::unexpected_scan_error(code, msg); |
863 | 3.97k | } |
864 | | |
865 | | inline constexpr auto map_parse_error_to_scan_error(enum scan_error::code code, |
866 | | const char* msg) |
867 | 3.97k | { |
868 | 3.97k | return [code, msg](parse_error err) { |
869 | 3.97k | assert(err != parse_error::good); |
870 | 3.97k | return make_scan_error_from_parse_error(err, code, msg).error(); |
871 | 3.97k | }; |
872 | 3.97k | } |
873 | | } // namespace impl |
874 | | |
875 | | namespace detail { |
876 | | template <typename T> |
877 | | struct is_expected_impl<scn::impl::parse_expected<T>> : std::true_type {}; |
878 | | } // namespace detail |
879 | | |
880 | | ///////////////////////////////////////////////////////////////// |
881 | | // Range reading support |
882 | | ///////////////////////////////////////////////////////////////// |
883 | | |
884 | | namespace impl { |
885 | | #if SCN_MSVC_DEBUG_ITERATORS |
886 | | #define SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND 1 |
887 | | #else |
888 | | #define SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND 0 |
889 | | #endif |
890 | | |
891 | | template <typename T> |
892 | | constexpr bool range_supports_nocopy() noexcept |
893 | | { |
894 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
895 | | return ranges::contiguous_range<T> || |
896 | | (ranges::random_access_range<T> && |
897 | | detail::can_make_address_from_iterator<ranges::iterator_t<T>>); |
898 | | #else |
899 | | return ranges::contiguous_range<T>; |
900 | | #endif |
901 | | } |
902 | | |
903 | | template <typename R> |
904 | | constexpr auto range_nocopy_data(const R& r) noexcept |
905 | | { |
906 | | static_assert(range_supports_nocopy<R>()); |
907 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
908 | | return detail::to_address(ranges::begin(r)); |
909 | | #else |
910 | | return ranges::data(r); |
911 | | #endif |
912 | | } |
913 | | |
914 | | template <typename R> |
915 | | constexpr auto range_nocopy_size(const R& r) noexcept |
916 | | { |
917 | | static_assert(range_supports_nocopy<R>()); |
918 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
919 | | return static_cast<size_t>(ranges::distance(detail::to_address(r.begin()), |
920 | | detail::to_address(r.end()))); |
921 | | #else |
922 | | return r.size(); |
923 | | #endif |
924 | | } |
925 | | |
926 | | template <typename I, typename S> |
927 | | SCN_NODISCARD constexpr bool is_range_eof(I begin, S end) |
928 | 185M | { |
929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
930 | | if constexpr (ranges::contiguous_iterator<I> || |
931 | | (ranges::random_access_iterator<I> && |
932 | | detail::can_make_address_from_iterator<I>)) { |
933 | | return detail::to_address(begin) == detail::to_address(end); |
934 | | } |
935 | | else |
936 | | #endif |
937 | 185M | { |
938 | 185M | return begin == end; |
939 | 185M | } |
940 | 185M | } Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 928 | 33.9k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 33.9k | { | 938 | 33.9k | return begin == end; | 939 | 33.9k | } | 940 | 33.9k | } |
bool scn::v4::impl::is_range_eof<char const*, char const*>(char const*, char const*) Line | Count | Source | 928 | 324k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 324k | { | 938 | 324k | return begin == end; | 939 | 324k | } | 940 | 324k | } |
Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) bool scn::v4::impl::is_range_eof<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) Line | Count | Source | 928 | 185M | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 185M | { | 938 | 185M | return begin == end; | 939 | 185M | } | 940 | 185M | } |
bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) Line | Count | Source | 928 | 12.9k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 12.9k | { | 938 | 12.9k | return begin == end; | 939 | 12.9k | } | 940 | 12.9k | } |
bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) Line | Count | Source | 928 | 5.75k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 5.75k | { | 938 | 5.75k | return begin == end; | 939 | 5.75k | } | 940 | 5.75k | } |
bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) Line | Count | Source | 928 | 1.72k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 1.72k | { | 938 | 1.72k | return begin == end; | 939 | 1.72k | } | 940 | 1.72k | } |
|
941 | | |
942 | | template <typename Range> |
943 | | SCN_NODISCARD constexpr bool is_range_eof(Range r) |
944 | 392k | { |
945 | 392k | return is_range_eof(r.begin(), r.end()); |
946 | 392k | } Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) bool scn::v4::impl::is_range_eof<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 944 | 2.32k | { | 945 | 2.32k | return is_range_eof(r.begin(), r.end()); | 946 | 2.32k | } |
bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 944 | 31.6k | { | 945 | 31.6k | return is_range_eof(r.begin(), r.end()); | 946 | 31.6k | } |
bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 944 | 282k | { | 945 | 282k | return is_range_eof(r.begin(), r.end()); | 946 | 282k | } |
Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 944 | 55.0k | { | 945 | 55.0k | return is_range_eof(r.begin(), r.end()); | 946 | 55.0k | } |
bool scn::v4::impl::is_range_eof<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 944 | 940 | { | 945 | 940 | return is_range_eof(r.begin(), r.end()); | 946 | 940 | } |
bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 944 | 12.0k | { | 945 | 12.0k | return is_range_eof(r.begin(), r.end()); | 946 | 12.0k | } |
Unexecuted instantiation: bool scn::v4::impl::is_range_eof<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >) bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 944 | 5.75k | { | 945 | 5.75k | return is_range_eof(r.begin(), r.end()); | 946 | 5.75k | } |
bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) Line | Count | Source | 944 | 1.72k | { | 945 | 1.72k | return is_range_eof(r.begin(), r.end()); | 946 | 1.72k | } |
Unexecuted instantiation: bool scn::v4::impl::is_range_eof<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) |
947 | | |
948 | | template <typename Range> |
949 | | SCN_NODISCARD constexpr eof_error eof_check(Range range) |
950 | 44.9k | { |
951 | 44.9k | if (SCN_UNLIKELY(is_range_eof(range))) { |
952 | 222 | return eof_error::eof; |
953 | 222 | } |
954 | 44.7k | return eof_error::good; |
955 | 44.9k | } Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 950 | 2.32k | { | 951 | 2.32k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 2.32k | return eof_error::good; | 955 | 2.32k | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 950 | 40 | { | 951 | 40 | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 40 | return eof_error::good; | 955 | 40 | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 950 | 21.3k | { | 951 | 21.3k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 21.3k | return eof_error::good; | 955 | 21.3k | } |
Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 950 | 17.1k | { | 951 | 17.1k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 17.1k | return eof_error::good; | 955 | 17.1k | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 950 | 940 | { | 951 | 940 | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 940 | return eof_error::good; | 955 | 940 | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 950 | 44 | { | 951 | 44 | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 44 | return eof_error::good; | 955 | 44 | } |
Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >) scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 950 | 2.29k | { | 951 | 2.29k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 222 | return eof_error::eof; | 953 | 222 | } | 954 | 2.07k | return eof_error::good; | 955 | 2.29k | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) Line | Count | Source | 950 | 860 | { | 951 | 860 | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 860 | return eof_error::good; | 955 | 860 | } |
Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) |
956 | | |
957 | | template <typename Range> |
958 | | bool is_entire_source_contiguous(Range r) |
959 | 600 | { |
960 | | if constexpr (ranges::contiguous_range<Range> && |
961 | 384 | ranges::sized_range<Range>) { |
962 | 384 | return true; |
963 | | } |
964 | | else if constexpr (std::is_same_v< |
965 | | ranges::const_iterator_t<Range>, |
966 | | typename detail::basic_scan_buffer< |
967 | 0 | detail::char_t<Range>>::forward_iterator>) { |
968 | 0 | auto beg = r.begin(); |
969 | 0 | if (!beg.stores_parent()) { |
970 | 0 | return true; |
971 | 0 | } |
972 | 0 | return beg.parent()->is_contiguous(); |
973 | | } |
974 | 216 | else { |
975 | 216 | return false; |
976 | 216 | } |
977 | 600 | } Unexecuted instantiation: bool scn::v4::impl::is_entire_source_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v4::impl::is_entire_source_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) bool scn::v4::impl::is_entire_source_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 959 | 216 | { | 960 | | if constexpr (ranges::contiguous_range<Range> && | 961 | | ranges::sized_range<Range>) { | 962 | | return true; | 963 | | } | 964 | | else if constexpr (std::is_same_v< | 965 | | ranges::const_iterator_t<Range>, | 966 | | typename detail::basic_scan_buffer< | 967 | | detail::char_t<Range>>::forward_iterator>) { | 968 | | auto beg = r.begin(); | 969 | | if (!beg.stores_parent()) { | 970 | | return true; | 971 | | } | 972 | | return beg.parent()->is_contiguous(); | 973 | | } | 974 | 216 | else { | 975 | 216 | return false; | 976 | 216 | } | 977 | 216 | } |
bool scn::v4::impl::is_entire_source_contiguous<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 959 | 384 | { | 960 | | if constexpr (ranges::contiguous_range<Range> && | 961 | 384 | ranges::sized_range<Range>) { | 962 | 384 | return true; | 963 | | } | 964 | | else if constexpr (std::is_same_v< | 965 | | ranges::const_iterator_t<Range>, | 966 | | typename detail::basic_scan_buffer< | 967 | | detail::char_t<Range>>::forward_iterator>) { | 968 | | auto beg = r.begin(); | 969 | | if (!beg.stores_parent()) { | 970 | | return true; | 971 | | } | 972 | | return beg.parent()->is_contiguous(); | 973 | | } | 974 | | else { | 975 | | return false; | 976 | | } | 977 | 384 | } |
|
978 | | |
979 | | template <typename Range> |
980 | | bool is_segment_contiguous(Range r) |
981 | 384 | { |
982 | | if constexpr (ranges::contiguous_range<Range> && |
983 | 384 | ranges::sized_range<Range>) { |
984 | 384 | return true; |
985 | | } |
986 | | else if constexpr (std::is_same_v< |
987 | | ranges::const_iterator_t<Range>, |
988 | | typename detail::basic_scan_buffer< |
989 | 0 | detail::char_t<Range>>::forward_iterator>) { |
990 | 0 | auto beg = r.begin(); |
991 | 0 | if (beg.contiguous_segment().empty()) { |
992 | 0 | return false; |
993 | 0 | } |
994 | | if constexpr (ranges::common_range<Range>) { |
995 | | return beg.contiguous_segment().end() == |
996 | | ranges::end(r).contiguous_segment().end(); |
997 | | } |
998 | 0 | else { |
999 | 0 | if (beg.stores_parent()) { |
1000 | 0 | return beg.contiguous_segment().end() == |
1001 | 0 | beg.parent()->current_view().end(); |
1002 | 0 | } |
1003 | 0 | return true; |
1004 | 0 | } |
1005 | | } |
1006 | 0 | else { |
1007 | 0 | return false; |
1008 | 0 | } |
1009 | 384 | } Unexecuted instantiation: bool scn::v4::impl::is_segment_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v4::impl::is_segment_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v4::impl::is_segment_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) bool scn::v4::impl::is_segment_contiguous<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 981 | 384 | { | 982 | | if constexpr (ranges::contiguous_range<Range> && | 983 | 384 | ranges::sized_range<Range>) { | 984 | 384 | return true; | 985 | | } | 986 | | else if constexpr (std::is_same_v< | 987 | | ranges::const_iterator_t<Range>, | 988 | | typename detail::basic_scan_buffer< | 989 | | detail::char_t<Range>>::forward_iterator>) { | 990 | | auto beg = r.begin(); | 991 | | if (beg.contiguous_segment().empty()) { | 992 | | return false; | 993 | | } | 994 | | if constexpr (ranges::common_range<Range>) { | 995 | | return beg.contiguous_segment().end() == | 996 | | ranges::end(r).contiguous_segment().end(); | 997 | | } | 998 | | else { | 999 | | if (beg.stores_parent()) { | 1000 | | return beg.contiguous_segment().end() == | 1001 | | beg.parent()->current_view().end(); | 1002 | | } | 1003 | | return true; | 1004 | | } | 1005 | | } | 1006 | | else { | 1007 | | return false; | 1008 | | } | 1009 | 384 | } |
Unexecuted instantiation: bool scn::v4::impl::is_segment_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) |
1010 | | |
1011 | | template <typename Range> |
1012 | | std::size_t contiguous_beginning_size(Range r) |
1013 | | { |
1014 | | if constexpr (ranges::contiguous_range<Range> && |
1015 | | ranges::sized_range<Range>) { |
1016 | | return r.size(); |
1017 | | } |
1018 | | else if constexpr (std::is_same_v< |
1019 | | ranges::const_iterator_t<Range>, |
1020 | | typename detail::basic_scan_buffer< |
1021 | | detail::char_t<Range>>::forward_iterator>) { |
1022 | | if constexpr (ranges::common_range<Range>) { |
1023 | | auto seg = r.begin().contiguous_segment(); |
1024 | | auto dist = |
1025 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1026 | | return std::min(seg.size(), dist); |
1027 | | } |
1028 | | else { |
1029 | | return r.begin().contiguous_segment().size(); |
1030 | | } |
1031 | | } |
1032 | | else { |
1033 | | return false; |
1034 | | } |
1035 | | } |
1036 | | |
1037 | | template <typename Range> |
1038 | | auto get_contiguous_beginning(Range r) |
1039 | 3.74k | { |
1040 | | if constexpr (ranges::contiguous_range<Range> && |
1041 | | ranges::sized_range<Range>) { |
1042 | | return r; |
1043 | | } |
1044 | | else if constexpr (std::is_same_v< |
1045 | | ranges::const_iterator_t<Range>, |
1046 | | typename detail::basic_scan_buffer< |
1047 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1048 | | if constexpr (ranges::common_range<Range>) { |
1049 | | auto seg = r.begin().contiguous_segment(); |
1050 | | auto dist = |
1051 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1052 | | return seg.substr(0, std::min(seg.size(), dist)); |
1053 | | } |
1054 | 0 | else { |
1055 | 0 | return r.begin().contiguous_segment(); |
1056 | 0 | } |
1057 | | } |
1058 | 3.74k | else { |
1059 | 3.74k | return std::basic_string_view<detail::char_t<Range>>{}; |
1060 | 3.74k | } |
1061 | 3.74k | } Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > > >(scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >) Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > > >(scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >) Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >) auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 1039 | 1.44k | { | 1040 | | if constexpr (ranges::contiguous_range<Range> && | 1041 | | ranges::sized_range<Range>) { | 1042 | | return r; | 1043 | | } | 1044 | | else if constexpr (std::is_same_v< | 1045 | | ranges::const_iterator_t<Range>, | 1046 | | typename detail::basic_scan_buffer< | 1047 | | detail::char_t<Range>>::forward_iterator>) { | 1048 | | if constexpr (ranges::common_range<Range>) { | 1049 | | auto seg = r.begin().contiguous_segment(); | 1050 | | auto dist = | 1051 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1052 | | return seg.substr(0, std::min(seg.size(), dist)); | 1053 | | } | 1054 | | else { | 1055 | | return r.begin().contiguous_segment(); | 1056 | | } | 1057 | | } | 1058 | 1.44k | else { | 1059 | 1.44k | return std::basic_string_view<detail::char_t<Range>>{}; | 1060 | 1.44k | } | 1061 | 1.44k | } |
Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > > >(scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >) Line | Count | Source | 1039 | 2.29k | { | 1040 | | if constexpr (ranges::contiguous_range<Range> && | 1041 | | ranges::sized_range<Range>) { | 1042 | | return r; | 1043 | | } | 1044 | | else if constexpr (std::is_same_v< | 1045 | | ranges::const_iterator_t<Range>, | 1046 | | typename detail::basic_scan_buffer< | 1047 | | detail::char_t<Range>>::forward_iterator>) { | 1048 | | if constexpr (ranges::common_range<Range>) { | 1049 | | auto seg = r.begin().contiguous_segment(); | 1050 | | auto dist = | 1051 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1052 | | return seg.substr(0, std::min(seg.size(), dist)); | 1053 | | } | 1054 | | else { | 1055 | | return r.begin().contiguous_segment(); | 1056 | | } | 1057 | | } | 1058 | 2.29k | else { | 1059 | 2.29k | return std::basic_string_view<detail::char_t<Range>>{}; | 1060 | 2.29k | } | 1061 | 2.29k | } |
|
1062 | | |
1063 | | template <typename Range> |
1064 | | auto get_as_contiguous(Range r) |
1065 | 384 | { |
1066 | 384 | SCN_EXPECT(is_segment_contiguous(r)); |
1067 | | |
1068 | | if constexpr (ranges::contiguous_range<Range> && |
1069 | 384 | ranges::sized_range<Range>) { |
1070 | 384 | return r; |
1071 | | } |
1072 | | else if constexpr (std::is_same_v< |
1073 | | ranges::const_iterator_t<Range>, |
1074 | | typename detail::basic_scan_buffer< |
1075 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1076 | | if constexpr (ranges::common_range<Range>) { |
1077 | | return detail::make_string_view_from_pointers( |
1078 | | r.begin().to_contiguous_segment_iterator(), |
1079 | | r.end().to_contiguous_segment_iterator()); |
1080 | | } |
1081 | 0 | else { |
1082 | 0 | return r.begin().contiguous_segment(); |
1083 | 0 | } |
1084 | | } |
1085 | 0 | else { |
1086 | 0 | SCN_EXPECT(false); |
1087 | 0 | SCN_UNREACHABLE; |
1088 | | // for return type deduction |
1089 | 0 | return std::basic_string_view<detail::char_t<Range>>{}; |
1090 | 0 | } |
1091 | 384 | } Unexecuted instantiation: auto scn::v4::impl::get_as_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: auto scn::v4::impl::get_as_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: auto scn::v4::impl::get_as_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) auto scn::v4::impl::get_as_contiguous<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 1065 | 384 | { | 1066 | 384 | SCN_EXPECT(is_segment_contiguous(r)); | 1067 | | | 1068 | | if constexpr (ranges::contiguous_range<Range> && | 1069 | 384 | ranges::sized_range<Range>) { | 1070 | 384 | return r; | 1071 | | } | 1072 | | else if constexpr (std::is_same_v< | 1073 | | ranges::const_iterator_t<Range>, | 1074 | | typename detail::basic_scan_buffer< | 1075 | | detail::char_t<Range>>::forward_iterator>) { | 1076 | | if constexpr (ranges::common_range<Range>) { | 1077 | | return detail::make_string_view_from_pointers( | 1078 | | r.begin().to_contiguous_segment_iterator(), | 1079 | | r.end().to_contiguous_segment_iterator()); | 1080 | | } | 1081 | | else { | 1082 | | return r.begin().contiguous_segment(); | 1083 | | } | 1084 | | } | 1085 | | else { | 1086 | | SCN_EXPECT(false); | 1087 | | SCN_UNREACHABLE; | 1088 | | // for return type deduction | 1089 | | return std::basic_string_view<detail::char_t<Range>>{}; | 1090 | | } | 1091 | 384 | } |
Unexecuted instantiation: auto scn::v4::impl::get_as_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) |
1092 | | |
1093 | | template <typename Range> |
1094 | | std::size_t guaranteed_minimum_size(Range r) |
1095 | 7.25k | { |
1096 | | if constexpr (ranges::sized_range<Range>) { |
1097 | | return r.size(); |
1098 | | } |
1099 | | else if constexpr (std::is_same_v< |
1100 | | ranges::const_iterator_t<Range>, |
1101 | | typename detail::basic_scan_buffer< |
1102 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1103 | | if constexpr (ranges::common_range<Range>) { |
1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1105 | | } |
1106 | 0 | else { |
1107 | 0 | if (r.begin().stores_parent()) { |
1108 | 0 | return static_cast<size_t>( |
1109 | 0 | r.begin().parent()->chars_available() - |
1110 | 0 | r.begin().position()); |
1111 | 0 | } |
1112 | 0 | return r.begin().contiguous_segment().size(); |
1113 | 0 | } |
1114 | | } |
1115 | 7.25k | else { |
1116 | 7.25k | return 0; |
1117 | 7.25k | } |
1118 | 7.25k | } Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 1095 | 5.18k | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 5.18k | else { | 1116 | 5.18k | return 0; | 1117 | 5.18k | } | 1118 | 5.18k | } |
Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 1095 | 590 | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 590 | else { | 1116 | 590 | return 0; | 1117 | 590 | } | 1118 | 590 | } |
unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 1095 | 412 | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 412 | else { | 1116 | 412 | return 0; | 1117 | 412 | } | 1118 | 412 | } |
unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 1095 | 792 | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 792 | else { | 1116 | 792 | return 0; | 1117 | 792 | } | 1118 | 792 | } |
Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 1095 | 276 | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 276 | else { | 1116 | 276 | return 0; | 1117 | 276 | } | 1118 | 276 | } |
Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) |
1119 | | |
1120 | | template <typename I, typename T> |
1121 | | struct iterator_value_result { |
1122 | | SCN_NO_UNIQUE_ADDRESS I iterator; |
1123 | | SCN_NO_UNIQUE_ADDRESS T value; |
1124 | | }; |
1125 | | |
1126 | | } // namespace impl |
1127 | | |
1128 | | ///////////////////////////////////////////////////////////////// |
1129 | | // File support |
1130 | | ///////////////////////////////////////////////////////////////// |
1131 | | |
1132 | | namespace detail { |
1133 | | |
1134 | | template <typename FileInterface> |
1135 | | basic_scan_file_buffer<FileInterface>::basic_scan_file_buffer( |
1136 | | FileInterface file) |
1137 | 0 | : base(base::non_contiguous_tag{}), m_file(SCN_MOVE(file)) |
1138 | 0 | { |
1139 | 0 | m_file.lock(); |
1140 | 0 | } |
1141 | | |
1142 | | template <typename FileInterface> |
1143 | | basic_scan_file_buffer<FileInterface>::~basic_scan_file_buffer() |
1144 | 0 | { |
1145 | 0 | m_file.unlock(); |
1146 | 0 | } |
1147 | | |
1148 | | template <typename FileInterface> |
1149 | | bool basic_scan_file_buffer<FileInterface>::fill() |
1150 | 0 | { |
1151 | 0 | if (!this->m_current_view.empty()) { |
1152 | 0 | this->m_putback_buffer.insert(this->m_putback_buffer.end(), |
1153 | 0 | this->m_current_view.begin(), |
1154 | 0 | this->m_current_view.end()); |
1155 | 0 | } |
1156 | |
|
1157 | 0 | if (m_file.has_buffering()) { |
1158 | 0 | if (!this->m_current_view.empty()) { |
1159 | 0 | m_file.unsafe_advance_n(this->m_current_view.size()); |
1160 | 0 | } |
1161 | |
|
1162 | 0 | if (m_file.buffer().empty()) { |
1163 | 0 | m_file.fill_buffer(); |
1164 | 0 | } |
1165 | 0 | m_current_view = m_file.buffer(); |
1166 | 0 | return !this->m_current_view.empty(); |
1167 | 0 | } |
1168 | | |
1169 | 0 | this->m_latest = m_file.read_one(); |
1170 | 0 | if (!this->m_latest) { |
1171 | 0 | this->m_current_view = {}; |
1172 | 0 | return false; |
1173 | 0 | } |
1174 | | |
1175 | 0 | this->m_current_view = {&*this->m_latest, 1}; |
1176 | 0 | return true; |
1177 | 0 | } |
1178 | | |
1179 | | template <typename FileInterface> |
1180 | | bool basic_scan_file_buffer<FileInterface>::sync(std::ptrdiff_t position) |
1181 | 0 | { |
1182 | 0 | struct putback_wrapper { |
1183 | 0 | putback_wrapper(FileInterface& i) : i(i) |
1184 | 0 | { |
1185 | 0 | i.prepare_putback(); |
1186 | 0 | } |
1187 | 0 | ~putback_wrapper() |
1188 | 0 | { |
1189 | 0 | i.finalize_putback(); |
1190 | 0 | } |
1191 | |
|
1192 | 0 | FileInterface& i; |
1193 | 0 | }; |
1194 | |
|
1195 | 0 | if (m_file.has_buffering()) { |
1196 | 0 | if (position < |
1197 | 0 | static_cast<std::ptrdiff_t>(this->putback_buffer().size())) { |
1198 | 0 | putback_wrapper wrapper{m_file}; |
1199 | 0 | auto segment = this->get_segment_starting_at(position); |
1200 | 0 | for (auto it = segment.rbegin(); it != segment.rend(); ++it) { |
1201 | 0 | if (!m_file.putback(*it)) { |
1202 | 0 | return false; |
1203 | 0 | } |
1204 | 0 | } |
1205 | 0 | return true; |
1206 | 0 | } |
1207 | | |
1208 | 0 | m_file.unsafe_advance_n(position - static_cast<std::ptrdiff_t>( |
1209 | 0 | this->putback_buffer().size())); |
1210 | 0 | return true; |
1211 | 0 | } |
1212 | | |
1213 | 0 | const auto chars_avail = this->chars_available(); |
1214 | 0 | if (position == chars_avail) { |
1215 | 0 | return true; |
1216 | 0 | } |
1217 | | |
1218 | 0 | putback_wrapper wrapper{m_file}; |
1219 | 0 | SCN_EXPECT(m_current_view.size() == 1); |
1220 | 0 | m_file.putback(m_current_view.front()); |
1221 | |
|
1222 | 0 | auto segment = std::string_view{this->putback_buffer()}.substr(position); |
1223 | 0 | for (auto it = segment.rbegin(); it != segment.rend(); ++it) { |
1224 | 0 | if (!m_file.putback(*it)) { |
1225 | 0 | return false; |
1226 | 0 | } |
1227 | 0 | } |
1228 | 0 | return true; |
1229 | 0 | } |
1230 | | |
1231 | | } // namespace detail |
1232 | | |
1233 | | ///////////////////////////////////////////////////////////////// |
1234 | | // Unicode |
1235 | | ///////////////////////////////////////////////////////////////// |
1236 | | |
1237 | | namespace impl { |
1238 | | |
1239 | | template <typename CharT> |
1240 | | constexpr bool validate_unicode(std::basic_string_view<CharT> src) |
1241 | 12.5k | { |
1242 | 12.5k | auto it = src.begin(); |
1243 | 455k | while (it != src.end()) { |
1244 | 445k | const auto len = detail::code_point_length_by_starting_code_unit(*it); |
1245 | 445k | if (len == 0) { |
1246 | 1.35k | return false; |
1247 | 1.35k | } |
1248 | 444k | if (src.end() - it < len) { |
1249 | 234 | return false; |
1250 | 234 | } |
1251 | 444k | const auto cp = detail::decode_code_point_exhaustive( |
1252 | 444k | detail::make_string_view_from_iterators<CharT>(it, it + len)); |
1253 | 444k | if (cp >= detail::invalid_code_point) { |
1254 | 1.39k | return false; |
1255 | 1.39k | } |
1256 | 442k | it += len; |
1257 | 442k | } |
1258 | 9.60k | return true; |
1259 | 12.5k | } bool scn::v4::impl::validate_unicode<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1241 | 8.33k | { | 1242 | 8.33k | auto it = src.begin(); | 1243 | 415k | while (it != src.end()) { | 1244 | 408k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1245 | 408k | if (len == 0) { | 1246 | 1.35k | return false; | 1247 | 1.35k | } | 1248 | 407k | if (src.end() - it < len) { | 1249 | 234 | return false; | 1250 | 234 | } | 1251 | 407k | const auto cp = detail::decode_code_point_exhaustive( | 1252 | 407k | detail::make_string_view_from_iterators<CharT>(it, it + len)); | 1253 | 407k | if (cp >= detail::invalid_code_point) { | 1254 | 456 | return false; | 1255 | 456 | } | 1256 | 406k | it += len; | 1257 | 406k | } | 1258 | 6.29k | return true; | 1259 | 8.33k | } |
bool scn::v4::impl::validate_unicode<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1241 | 4.24k | { | 1242 | 4.24k | auto it = src.begin(); | 1243 | 40.3k | while (it != src.end()) { | 1244 | 37.0k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1245 | 37.0k | if (len == 0) { | 1246 | 0 | return false; | 1247 | 0 | } | 1248 | 37.0k | if (src.end() - it < len) { | 1249 | 0 | return false; | 1250 | 0 | } | 1251 | 37.0k | const auto cp = detail::decode_code_point_exhaustive( | 1252 | 37.0k | detail::make_string_view_from_iterators<CharT>(it, it + len)); | 1253 | 37.0k | if (cp >= detail::invalid_code_point) { | 1254 | 936 | return false; | 1255 | 936 | } | 1256 | 36.0k | it += len; | 1257 | 36.0k | } | 1258 | 3.30k | return true; | 1259 | 4.24k | } |
|
1260 | | |
1261 | | template <typename Range> |
1262 | | constexpr auto get_start_for_next_code_point(Range input) |
1263 | | -> ranges::const_iterator_t<Range> |
1264 | 10.5k | { |
1265 | 10.5k | auto it = input.begin(); |
1266 | 32.2k | for (; it != input.end(); ++it) { |
1267 | 30.6k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { |
1268 | 8.97k | break; |
1269 | 8.97k | } |
1270 | 30.6k | } |
1271 | 10.5k | return it; |
1272 | 10.5k | } _ZN3scn2v44impl29get_start_for_next_code_pointINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 1264 | 6.23k | { | 1265 | 6.23k | auto it = input.begin(); | 1266 | 25.0k | for (; it != input.end(); ++it) { | 1267 | 23.7k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1268 | 4.89k | break; | 1269 | 4.89k | } | 1270 | 23.7k | } | 1271 | 6.23k | return it; | 1272 | 6.23k | } |
Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESN_ _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_ Line | Count | Source | 1264 | 3.39k | { | 1265 | 3.39k | auto it = input.begin(); | 1266 | 5.73k | for (; it != input.end(); ++it) { | 1267 | 5.51k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1268 | 3.17k | break; | 1269 | 3.17k | } | 1270 | 5.51k | } | 1271 | 3.39k | return it; | 1272 | 3.39k | } |
Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1264 | 960 | { | 1265 | 960 | auto it = input.begin(); | 1266 | 1.47k | for (; it != input.end(); ++it) { | 1267 | 1.41k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1268 | 906 | break; | 1269 | 906 | } | 1270 | 1.41k | } | 1271 | 960 | return it; | 1272 | 960 | } |
Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESO_ |
1273 | | |
1274 | | template <typename CharT> |
1275 | | constexpr auto get_next_code_point(std::basic_string_view<CharT> input) |
1276 | | -> iterator_value_result<typename std::basic_string_view<CharT>::iterator, |
1277 | | char32_t> |
1278 | 185M | { |
1279 | 185M | SCN_EXPECT(!input.empty()); |
1280 | | |
1281 | 185M | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); |
1282 | 185M | if (SCN_UNLIKELY(len == 0)) { |
1283 | 6.23k | return {get_start_for_next_code_point(input), |
1284 | 6.23k | detail::invalid_code_point}; |
1285 | 6.23k | } |
1286 | 185M | if (SCN_UNLIKELY(len > input.size())) { |
1287 | 938 | return {input.end(), detail::invalid_code_point}; |
1288 | 938 | } |
1289 | | |
1290 | 185M | return {input.begin() + len, |
1291 | 185M | detail::decode_code_point_exhaustive(input.substr(0, len))}; |
1292 | 185M | } scn::v4::impl::iterator_value_result<std::__1::basic_string_view<char, std::__1::char_traits<char> >::iterator, char32_t> scn::v4::impl::get_next_code_point<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1278 | 245k | { | 1279 | 245k | SCN_EXPECT(!input.empty()); | 1280 | | | 1281 | 245k | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); | 1282 | 245k | if (SCN_UNLIKELY(len == 0)) { | 1283 | 6.23k | return {get_start_for_next_code_point(input), | 1284 | 6.23k | detail::invalid_code_point}; | 1285 | 6.23k | } | 1286 | 239k | if (SCN_UNLIKELY(len > input.size())) { | 1287 | 938 | return {input.end(), detail::invalid_code_point}; | 1288 | 938 | } | 1289 | | | 1290 | 238k | return {input.begin() + len, | 1291 | 238k | detail::decode_code_point_exhaustive(input.substr(0, len))}; | 1292 | 239k | } |
scn::v4::impl::iterator_value_result<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >::iterator, char32_t> scn::v4::impl::get_next_code_point<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1278 | 185M | { | 1279 | 185M | SCN_EXPECT(!input.empty()); | 1280 | | | 1281 | 185M | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); | 1282 | 185M | if (SCN_UNLIKELY(len == 0)) { | 1283 | 0 | return {get_start_for_next_code_point(input), | 1284 | 0 | detail::invalid_code_point}; | 1285 | 0 | } | 1286 | 185M | if (SCN_UNLIKELY(len > input.size())) { | 1287 | 0 | return {input.end(), detail::invalid_code_point}; | 1288 | 0 | } | 1289 | | | 1290 | 185M | return {input.begin() + len, | 1291 | 185M | detail::decode_code_point_exhaustive(input.substr(0, len))}; | 1292 | 185M | } |
|
1293 | | |
1294 | | template <typename CharT> |
1295 | | constexpr auto get_next_code_point_valid(std::basic_string_view<CharT> input) |
1296 | | -> iterator_value_result<typename std::basic_string_view<CharT>::iterator, |
1297 | | char32_t> |
1298 | 97.8k | { |
1299 | 97.8k | SCN_EXPECT(!input.empty()); |
1300 | | |
1301 | 97.8k | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); |
1302 | 97.8k | SCN_EXPECT(len <= input.size()); |
1303 | | |
1304 | 97.8k | return {input.begin() + len, |
1305 | 97.8k | detail::decode_code_point_exhaustive_valid(input.substr(0, len))}; |
1306 | 97.8k | } |
1307 | | |
1308 | | template <typename CharT> |
1309 | | struct is_first_char_space_result { |
1310 | | ranges::iterator_t<std::basic_string_view<CharT>> iterator; |
1311 | | char32_t cp; |
1312 | | bool is_space; |
1313 | | }; |
1314 | | |
1315 | | template <typename CharT> |
1316 | | inline constexpr auto is_first_char_space(std::basic_string_view<CharT> str) |
1317 | | -> is_first_char_space_result<CharT> |
1318 | 185M | { |
1319 | | // TODO: optimize |
1320 | 185M | SCN_EXPECT(!str.empty()); |
1321 | 185M | auto res = get_next_code_point(str); |
1322 | 185M | return {res.iterator, res.value, detail::is_cp_space(res.value)}; |
1323 | 185M | } scn::v4::impl::is_first_char_space_result<char> scn::v4::impl::is_first_char_space<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1318 | 40.8k | { | 1319 | | // TODO: optimize | 1320 | 40.8k | SCN_EXPECT(!str.empty()); | 1321 | 40.8k | auto res = get_next_code_point(str); | 1322 | 40.8k | return {res.iterator, res.value, detail::is_cp_space(res.value)}; | 1323 | 40.8k | } |
scn::v4::impl::is_first_char_space_result<wchar_t> scn::v4::impl::is_first_char_space<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1318 | 185M | { | 1319 | | // TODO: optimize | 1320 | 185M | SCN_EXPECT(!str.empty()); | 1321 | 185M | auto res = get_next_code_point(str); | 1322 | 185M | return {res.iterator, res.value, detail::is_cp_space(res.value)}; | 1323 | 185M | } |
|
1324 | | |
1325 | | inline constexpr scan_expected<wchar_t> encode_code_point_as_wide_character( |
1326 | | char32_t cp, |
1327 | | bool error_on_overflow) |
1328 | 0 | { |
1329 | 0 | SCN_EXPECT(cp < detail::invalid_code_point); |
1330 | 0 | if constexpr (sizeof(wchar_t) == sizeof(char32_t)) { |
1331 | 0 | SCN_UNUSED(error_on_overflow); |
1332 | 0 | return static_cast<wchar_t>(cp); |
1333 | | } |
1334 | | else { |
1335 | | if (cp < 0x10000) { |
1336 | | return static_cast<wchar_t>(cp); |
1337 | | } |
1338 | | if (error_on_overflow) { |
1339 | | return detail::unexpected_scan_error( |
1340 | | scan_error::value_positive_overflow, |
1341 | | "Non-BMP code point can't be " |
1342 | | "narrowed to a single 2-byte " |
1343 | | "wchar_t code unit"); |
1344 | | } |
1345 | | // Return the lead surrogate |
1346 | | return static_cast<wchar_t>( |
1347 | | (static_cast<uint32_t>(cp) - 0x10000) / 0x400 + 0xd800); |
1348 | | } |
1349 | 0 | } |
1350 | | |
1351 | | template <typename SourceCharT, typename DestCharT> |
1352 | | void transcode_to_string_impl_to32(std::basic_string_view<SourceCharT> src, |
1353 | | std::basic_string<DestCharT>& dest) |
1354 | 2.51k | { |
1355 | 2.51k | static_assert(sizeof(DestCharT) == 4); |
1356 | | |
1357 | 2.51k | auto it = src.begin(); |
1358 | 130k | while (it != src.end()) { |
1359 | 127k | auto res = get_next_code_point( |
1360 | 127k | detail::make_string_view_from_iterators<SourceCharT>(it, |
1361 | 127k | src.end())); |
1362 | 127k | if (SCN_UNLIKELY(res.value == detail::invalid_code_point)) { |
1363 | 3.56k | dest.push_back(DestCharT{0xfffd}); |
1364 | 3.56k | } |
1365 | 124k | else { |
1366 | 124k | dest.push_back(res.value); |
1367 | 124k | } |
1368 | 127k | it = detail::make_string_view_iterator(src, res.iterator); |
1369 | 127k | } |
1370 | 2.51k | } |
1371 | | template <typename SourceCharT, typename DestCharT> |
1372 | | void transcode_valid_to_string_impl_to32( |
1373 | | std::basic_string_view<SourceCharT> src, |
1374 | | std::basic_string<DestCharT>& dest) |
1375 | 1.57k | { |
1376 | 1.57k | static_assert(sizeof(DestCharT) == 4); |
1377 | | |
1378 | 1.57k | auto it = src.begin(); |
1379 | 99.4k | while (it != src.end()) { |
1380 | 97.8k | auto res = get_next_code_point_valid( |
1381 | 97.8k | detail::make_string_view_from_iterators<SourceCharT>(it, |
1382 | 97.8k | src.end())); |
1383 | 97.8k | SCN_EXPECT(res.value < detail::invalid_code_point); |
1384 | 97.8k | dest.push_back(res.value); |
1385 | 97.8k | it = detail::make_string_view_iterator(src, res.iterator); |
1386 | 97.8k | } |
1387 | 1.57k | } |
1388 | | |
1389 | | template <bool VerifiedValid, typename SourceCharT, typename DestCharT> |
1390 | | void transcode_to_string_impl_32to8(std::basic_string_view<SourceCharT> src, |
1391 | | std::basic_string<DestCharT>& dest) |
1392 | 826 | { |
1393 | 826 | static_assert(sizeof(SourceCharT) == 4); |
1394 | 826 | static_assert(sizeof(DestCharT) == 1); |
1395 | | |
1396 | 7.73k | for (auto cp : src) { |
1397 | 7.73k | const auto u32cp = static_cast<uint32_t>(cp); |
1398 | 7.73k | if (SCN_UNLIKELY(!VerifiedValid && cp >= detail::invalid_code_point)) { |
1399 | | // Replacement character |
1400 | 0 | dest.push_back(static_cast<char>(0xef)); |
1401 | 0 | dest.push_back(static_cast<char>(0xbf)); |
1402 | 0 | dest.push_back(static_cast<char>(0xbd)); |
1403 | 0 | } |
1404 | 7.73k | else if (cp < 128) { |
1405 | 6.46k | dest.push_back(static_cast<char>(cp)); |
1406 | 6.46k | } |
1407 | 1.27k | else if (cp < 2048) { |
1408 | 86 | dest.push_back( |
1409 | 86 | static_cast<char>(0xc0 | (static_cast<char>(u32cp >> 6)))); |
1410 | 86 | dest.push_back( |
1411 | 86 | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1412 | 86 | } |
1413 | 1.18k | else if (cp < 65536) { |
1414 | 830 | dest.push_back( |
1415 | 830 | static_cast<char>(0xe0 | (static_cast<char>(u32cp >> 12)))); |
1416 | 830 | dest.push_back(static_cast<char>( |
1417 | 830 | 0x80 | (static_cast<char>(u32cp >> 6) & 0x3f))); |
1418 | 830 | dest.push_back( |
1419 | 830 | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1420 | 830 | } |
1421 | 356 | else { |
1422 | 356 | dest.push_back( |
1423 | 356 | static_cast<char>(0xf0 | (static_cast<char>(u32cp >> 18)))); |
1424 | 356 | dest.push_back(static_cast<char>( |
1425 | 356 | 0x80 | (static_cast<char>(u32cp >> 12) & 0x3f))); |
1426 | 356 | dest.push_back(static_cast<char>( |
1427 | 356 | 0x80 | (static_cast<char>(u32cp >> 6) & 0x3f))); |
1428 | 356 | dest.push_back( |
1429 | 356 | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1430 | 356 | } |
1431 | 7.73k | } |
1432 | 826 | } |
1433 | | |
1434 | | template <bool VerifiedValid, typename SourceCharT, typename DestCharT> |
1435 | | void transcode_to_string_impl_32to16(std::basic_string_view<SourceCharT> src, |
1436 | | std::basic_string<DestCharT>& dest) |
1437 | | { |
1438 | | static_assert(sizeof(SourceCharT) == 4); |
1439 | | static_assert(sizeof(DestCharT) == 2); |
1440 | | |
1441 | | for (auto cp : src) { |
1442 | | const auto u32cp = static_cast<uint32_t>(cp); |
1443 | | if (SCN_UNLIKELY(!VerifiedValid && cp >= detail::invalid_code_point)) { |
1444 | | dest.push_back(char16_t{0xfffd}); |
1445 | | } |
1446 | | else if (cp < 0x10000) { |
1447 | | dest.push_back(static_cast<char16_t>(cp)); |
1448 | | } |
1449 | | else { |
1450 | | dest.push_back( |
1451 | | static_cast<char16_t>((u32cp - 0x10000) / 0x400 + 0xd800)); |
1452 | | dest.push_back( |
1453 | | static_cast<char16_t>((u32cp - 0x10000) % 0x400 + 0xd800)); |
1454 | | } |
1455 | | } |
1456 | | } |
1457 | | |
1458 | | template <typename SourceCharT, typename DestCharT> |
1459 | | void transcode_to_string(std::basic_string_view<SourceCharT> src, |
1460 | | std::basic_string<DestCharT>& dest) |
1461 | 2.51k | { |
1462 | 2.51k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); |
1463 | | |
1464 | 2.51k | if constexpr (sizeof(SourceCharT) == 1) { |
1465 | | if constexpr (sizeof(DestCharT) == 2) { |
1466 | | std::u32string tmp; |
1467 | | transcode_to_string_impl_to32(src, tmp); |
1468 | | return transcode_to_string_impl_32to16<false>( |
1469 | | std::u32string_view{tmp}, dest); |
1470 | | } |
1471 | 2.51k | else if constexpr (sizeof(DestCharT) == 4) { |
1472 | 2.51k | return transcode_to_string_impl_to32(src, dest); |
1473 | 2.51k | } |
1474 | | } |
1475 | | else if constexpr (sizeof(SourceCharT) == 2) { |
1476 | | if constexpr (sizeof(DestCharT) == 1) { |
1477 | | std::u32string tmp; |
1478 | | transcode_to_string_impl_to32(src, tmp); |
1479 | | return transcode_to_string_impl_32to8<false>( |
1480 | | std::u32string_view{tmp}, dest); |
1481 | | } |
1482 | | else if constexpr (sizeof(DestCharT) == 4) { |
1483 | | return trasncode_to_string_impl_to32(src, dest); |
1484 | | } |
1485 | | } |
1486 | | else if constexpr (sizeof(SourceCharT) == 4) { |
1487 | | if constexpr (sizeof(DestCharT) == 1) { |
1488 | | return transcode_to_string_impl_32to8<false>(src, dest); |
1489 | | } |
1490 | | else if constexpr (sizeof(DestCharT) == 2) { |
1491 | | return transcode_to_string_impl_32to16<false>(src, dest); |
1492 | | } |
1493 | | } |
1494 | | |
1495 | 2.51k | SCN_EXPECT(false); |
1496 | 2.51k | SCN_UNREACHABLE; |
1497 | 2.51k | } |
1498 | | template <typename SourceCharT, typename DestCharT> |
1499 | | void transcode_valid_to_string(std::basic_string_view<SourceCharT> src, |
1500 | | std::basic_string<DestCharT>& dest) |
1501 | 2.40k | { |
1502 | 2.40k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); |
1503 | | |
1504 | 2.40k | SCN_EXPECT(validate_unicode(src)); |
1505 | 2.40k | if constexpr (sizeof(SourceCharT) == 1) { |
1506 | | if constexpr (sizeof(DestCharT) == 2) { |
1507 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 |
1508 | | std::u32string tmp; |
1509 | | transcode_valid_to_string_impl_to32(src, tmp); |
1510 | | return transcode_to_string_impl_32to16<true>( |
1511 | | std::u32string_view{tmp}, dest); |
1512 | | } |
1513 | 1.57k | else if constexpr (sizeof(DestCharT) == 4) { |
1514 | 1.57k | return transcode_valid_to_string_impl_to32(src, dest); |
1515 | 1.57k | } |
1516 | | } |
1517 | | else if constexpr (sizeof(SourceCharT) == 2) { |
1518 | | if constexpr (sizeof(DestCharT) == 1) { |
1519 | | std::u32string tmp; |
1520 | | transcode_valid_to_string_impl_to32(src, tmp); |
1521 | | return transcode_to_string_impl_32to8<true>( |
1522 | | std::u32string_view{tmp}, dest); |
1523 | | } |
1524 | | else if constexpr (sizeof(DestCharT) == 4) { |
1525 | | return trasncode_valid_to_string_impl_to32(src, dest); |
1526 | | } |
1527 | | } |
1528 | 826 | else if constexpr (sizeof(SourceCharT) == 4) { |
1529 | 826 | if constexpr (sizeof(DestCharT) == 1) { |
1530 | 826 | return transcode_to_string_impl_32to8<true>(src, dest); |
1531 | | } |
1532 | | else if constexpr (sizeof(DestCharT) == 2) { |
1533 | | return transcode_to_string_impl_32to16<true>(src, dest); |
1534 | | } |
1535 | 826 | } |
1536 | | |
1537 | 2.40k | SCN_EXPECT(false); |
1538 | 2.40k | SCN_UNREACHABLE; |
1539 | 2.40k | } void scn::v4::impl::transcode_valid_to_string<char, wchar_t>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 1501 | 1.57k | { | 1502 | 1.57k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); | 1503 | | | 1504 | 1.57k | SCN_EXPECT(validate_unicode(src)); | 1505 | 1.57k | if constexpr (sizeof(SourceCharT) == 1) { | 1506 | | if constexpr (sizeof(DestCharT) == 2) { | 1507 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 | 1508 | | std::u32string tmp; | 1509 | | transcode_valid_to_string_impl_to32(src, tmp); | 1510 | | return transcode_to_string_impl_32to16<true>( | 1511 | | std::u32string_view{tmp}, dest); | 1512 | | } | 1513 | 1.57k | else if constexpr (sizeof(DestCharT) == 4) { | 1514 | 1.57k | return transcode_valid_to_string_impl_to32(src, dest); | 1515 | 1.57k | } | 1516 | | } | 1517 | | else if constexpr (sizeof(SourceCharT) == 2) { | 1518 | | if constexpr (sizeof(DestCharT) == 1) { | 1519 | | std::u32string tmp; | 1520 | | transcode_valid_to_string_impl_to32(src, tmp); | 1521 | | return transcode_to_string_impl_32to8<true>( | 1522 | | std::u32string_view{tmp}, dest); | 1523 | | } | 1524 | | else if constexpr (sizeof(DestCharT) == 4) { | 1525 | | return trasncode_valid_to_string_impl_to32(src, dest); | 1526 | | } | 1527 | | } | 1528 | | else if constexpr (sizeof(SourceCharT) == 4) { | 1529 | | if constexpr (sizeof(DestCharT) == 1) { | 1530 | | return transcode_to_string_impl_32to8<true>(src, dest); | 1531 | | } | 1532 | | else if constexpr (sizeof(DestCharT) == 2) { | 1533 | | return transcode_to_string_impl_32to16<true>(src, dest); | 1534 | | } | 1535 | | } | 1536 | | | 1537 | 1.57k | SCN_EXPECT(false); | 1538 | 0 | SCN_UNREACHABLE; | 1539 | 1.57k | } |
void scn::v4::impl::transcode_valid_to_string<wchar_t, char>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 1501 | 826 | { | 1502 | 826 | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); | 1503 | | | 1504 | 826 | SCN_EXPECT(validate_unicode(src)); | 1505 | | if constexpr (sizeof(SourceCharT) == 1) { | 1506 | | if constexpr (sizeof(DestCharT) == 2) { | 1507 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 | 1508 | | std::u32string tmp; | 1509 | | transcode_valid_to_string_impl_to32(src, tmp); | 1510 | | return transcode_to_string_impl_32to16<true>( | 1511 | | std::u32string_view{tmp}, dest); | 1512 | | } | 1513 | | else if constexpr (sizeof(DestCharT) == 4) { | 1514 | | return transcode_valid_to_string_impl_to32(src, dest); | 1515 | | } | 1516 | | } | 1517 | | else if constexpr (sizeof(SourceCharT) == 2) { | 1518 | | if constexpr (sizeof(DestCharT) == 1) { | 1519 | | std::u32string tmp; | 1520 | | transcode_valid_to_string_impl_to32(src, tmp); | 1521 | | return transcode_to_string_impl_32to8<true>( | 1522 | | std::u32string_view{tmp}, dest); | 1523 | | } | 1524 | | else if constexpr (sizeof(DestCharT) == 4) { | 1525 | | return trasncode_valid_to_string_impl_to32(src, dest); | 1526 | | } | 1527 | | } | 1528 | 826 | else if constexpr (sizeof(SourceCharT) == 4) { | 1529 | 826 | if constexpr (sizeof(DestCharT) == 1) { | 1530 | 826 | return transcode_to_string_impl_32to8<true>(src, dest); | 1531 | | } | 1532 | | else if constexpr (sizeof(DestCharT) == 2) { | 1533 | | return transcode_to_string_impl_32to16<true>(src, dest); | 1534 | | } | 1535 | 826 | } | 1536 | | | 1537 | 826 | SCN_EXPECT(false); | 1538 | 0 | SCN_UNREACHABLE; | 1539 | 826 | } |
|
1540 | | |
1541 | | template <typename CharT> |
1542 | | constexpr void for_each_code_point(std::basic_string_view<CharT> input, |
1543 | | function_ref<void(char32_t)> cb) |
1544 | 34.2k | { |
1545 | | // TODO: Could be optimized by being eager |
1546 | 34.2k | auto it = input.begin(); |
1547 | 83.4k | while (it != input.end()) { |
1548 | 49.2k | auto res = get_next_code_point( |
1549 | 49.2k | detail::make_string_view_from_iterators<CharT>(it, input.end())); |
1550 | 49.2k | cb(res.value); |
1551 | 49.2k | it = detail::make_string_view_iterator(input, res.iterator); |
1552 | 49.2k | } |
1553 | 34.2k | } void scn::v4::impl::for_each_code_point<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v4::impl::function_ref<void (char32_t), void (char32_t)>) Line | Count | Source | 1544 | 31.2k | { | 1545 | | // TODO: Could be optimized by being eager | 1546 | 31.2k | auto it = input.begin(); | 1547 | 73.6k | while (it != input.end()) { | 1548 | 42.4k | auto res = get_next_code_point( | 1549 | 42.4k | detail::make_string_view_from_iterators<CharT>(it, input.end())); | 1550 | 42.4k | cb(res.value); | 1551 | 42.4k | it = detail::make_string_view_iterator(input, res.iterator); | 1552 | 42.4k | } | 1553 | 31.2k | } |
void scn::v4::impl::for_each_code_point<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, scn::v4::impl::function_ref<void (char32_t), void (char32_t)>) Line | Count | Source | 1544 | 3.00k | { | 1545 | | // TODO: Could be optimized by being eager | 1546 | 3.00k | auto it = input.begin(); | 1547 | 9.80k | while (it != input.end()) { | 1548 | 6.80k | auto res = get_next_code_point( | 1549 | 6.80k | detail::make_string_view_from_iterators<CharT>(it, input.end())); | 1550 | 6.80k | cb(res.value); | 1551 | 6.80k | it = detail::make_string_view_iterator(input, res.iterator); | 1552 | 6.80k | } | 1553 | 3.00k | } |
|
1554 | | |
1555 | | template <typename CharT> |
1556 | | constexpr void for_each_code_point_valid(std::basic_string_view<CharT> input, |
1557 | | function_ref<void(char32_t)> cb) |
1558 | | { |
1559 | | auto it = input.begin(); |
1560 | | while (it != input.end()) { |
1561 | | auto res = get_next_code_point_valid( |
1562 | | detail::make_string_view_from_iterators<CharT>(it, input.end())); |
1563 | | cb(res.value); |
1564 | | it = detail::make_string_view_iterator(input, res.iterator); |
1565 | | } |
1566 | | } |
1567 | | |
1568 | | ///////////////////////////////////////////////////////////////// |
1569 | | // contiguous_range_factory |
1570 | | ///////////////////////////////////////////////////////////////// |
1571 | | |
1572 | | template <typename View> |
1573 | | class take_width_view; |
1574 | | |
1575 | | template <typename CharT> |
1576 | | struct string_view_wrapper { |
1577 | | using char_type = CharT; |
1578 | | using string_type = std::basic_string<CharT>; |
1579 | | using string_view_type = std::basic_string_view<CharT>; |
1580 | | |
1581 | | constexpr string_view_wrapper() = default; |
1582 | | |
1583 | | template <typename Range, |
1584 | | std::enable_if_t<ranges::borrowed_range<Range> && |
1585 | | ranges::contiguous_range<Range> && |
1586 | | ranges::sized_range<Range>>* = nullptr> |
1587 | 43.4k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) |
1588 | 43.4k | { |
1589 | 43.4k | } _ZN3scn2v44impl19string_view_wrapperIcEC2INS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISE_Esr6rangesE11sized_rangeISE_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 1587 | 12.0k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1588 | 12.0k | { | 1589 | 12.0k | } |
_ZN3scn2v44impl19string_view_wrapperIcEC2IRNS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISF_Esr6rangesE11sized_rangeISF_EEvE4typeELPv0EEEOSF_ Line | Count | Source | 1587 | 16.4k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1588 | 16.4k | { | 1589 | 16.4k | } |
_ZN3scn2v44impl19string_view_wrapperIwEC2INS0_6ranges6detail9subrange_8subrangeIPKwSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISE_Esr6rangesE11sized_rangeISE_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 1587 | 8.18k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1588 | 8.18k | { | 1589 | 8.18k | } |
_ZN3scn2v44impl19string_view_wrapperIcEC2IRNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEETnPNS5_9enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISC_Esr6rangesE11sized_rangeISC_EEvE4typeELPv0EEEOSC_ Line | Count | Source | 1587 | 6.82k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1588 | 6.82k | { | 1589 | 6.82k | } |
|
1590 | | |
1591 | | template <typename Range, |
1592 | | std::enable_if_t<ranges::borrowed_range<Range> && |
1593 | | ranges::contiguous_range<Range> && |
1594 | | ranges::sized_range<Range>>* = nullptr> |
1595 | | void assign(Range&& r) |
1596 | | { |
1597 | | sv = string_view_type{ranges::data(r), r.size()}; |
1598 | | } |
1599 | | |
1600 | | constexpr auto view() const |
1601 | 70.4k | { |
1602 | 70.4k | return sv; |
1603 | 70.4k | } scn::v4::impl::string_view_wrapper<char>::view() const Line | Count | Source | 1601 | 60.9k | { | 1602 | 60.9k | return sv; | 1603 | 60.9k | } |
scn::v4::impl::string_view_wrapper<wchar_t>::view() const Line | Count | Source | 1601 | 9.47k | { | 1602 | 9.47k | return sv; | 1603 | 9.47k | } |
|
1604 | | |
1605 | | constexpr bool stores_allocated_string() const |
1606 | 0 | { |
1607 | 0 | return false; |
1608 | 0 | } Unexecuted instantiation: scn::v4::impl::string_view_wrapper<char>::stores_allocated_string() const Unexecuted instantiation: scn::v4::impl::string_view_wrapper<wchar_t>::stores_allocated_string() const |
1609 | | |
1610 | | [[noreturn]] string_type get_allocated_string() const |
1611 | | { |
1612 | | SCN_EXPECT(false); |
1613 | | SCN_UNREACHABLE; |
1614 | | } |
1615 | | |
1616 | | string_view_type sv; |
1617 | | }; |
1618 | | |
1619 | | template <typename Range> |
1620 | | string_view_wrapper(Range) |
1621 | | -> string_view_wrapper<detail::char_t<detail::remove_cvref_t<Range>>>; |
1622 | | |
1623 | | template <typename CharT> |
1624 | | class contiguous_range_factory { |
1625 | | public: |
1626 | | using char_type = CharT; |
1627 | | using string_type = std::basic_string<CharT>; |
1628 | | using string_view_type = std::basic_string_view<CharT>; |
1629 | | |
1630 | 4.22k | contiguous_range_factory() = default; scn::v4::impl::contiguous_range_factory<char>::contiguous_range_factory() Line | Count | Source | 1630 | 2.48k | contiguous_range_factory() = default; |
scn::v4::impl::contiguous_range_factory<wchar_t>::contiguous_range_factory() Line | Count | Source | 1630 | 1.74k | contiguous_range_factory() = default; |
|
1631 | | |
1632 | | template <typename Range, |
1633 | | std::enable_if_t<ranges::forward_range<Range>>* = nullptr> |
1634 | | contiguous_range_factory(Range&& range) |
1635 | 2.52k | { |
1636 | 2.52k | emplace_range(SCN_FWD(range)); |
1637 | 2.52k | } Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSG_ _ZN3scn2v44impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 1635 | 2.02k | { | 1636 | 2.02k | emplace_range(SCN_FWD(range)); | 1637 | 2.02k | } |
Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSG_ _ZN3scn2v44impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 1635 | 494 | { | 1636 | 494 | emplace_range(SCN_FWD(range)); | 1637 | 494 | } |
|
1638 | | |
1639 | | contiguous_range_factory(string_view_wrapper<CharT> svw) |
1640 | | : m_storage(std::nullopt), m_view(svw.view()) |
1641 | | { |
1642 | | } |
1643 | | |
1644 | | contiguous_range_factory(const contiguous_range_factory&) = delete; |
1645 | | contiguous_range_factory& operator=(const contiguous_range_factory&) = |
1646 | | delete; |
1647 | | |
1648 | | contiguous_range_factory(contiguous_range_factory&& other) |
1649 | | : m_storage(SCN_MOVE(other.m_storage)) |
1650 | | { |
1651 | | if (m_storage) { |
1652 | | m_view = *m_storage; |
1653 | | } |
1654 | | else { |
1655 | | m_view = other.m_view; |
1656 | | } |
1657 | | } |
1658 | | contiguous_range_factory& operator=(contiguous_range_factory&& other) |
1659 | | { |
1660 | | m_storage = SCN_MOVE(other.m_storage); |
1661 | | if (m_storage) { |
1662 | | m_view = *m_storage; |
1663 | | } |
1664 | | else { |
1665 | | m_view = other.m_view; |
1666 | | } |
1667 | | return *this; |
1668 | | } |
1669 | | |
1670 | 6.75k | ~contiguous_range_factory() = default; scn::v4::impl::contiguous_range_factory<char>::~contiguous_range_factory() Line | Count | Source | 1670 | 4.50k | ~contiguous_range_factory() = default; |
scn::v4::impl::contiguous_range_factory<wchar_t>::~contiguous_range_factory() Line | Count | Source | 1670 | 2.24k | ~contiguous_range_factory() = default; |
|
1671 | | |
1672 | | template <typename Range, |
1673 | | std::enable_if_t<ranges::forward_range<Range>>* = nullptr> |
1674 | | void assign(Range&& range) |
1675 | 1.62k | { |
1676 | 1.62k | emplace_range(SCN_FWD(range)); |
1677 | 1.62k | } Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSK_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSG_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSH_ _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSE_ Line | Count | Source | 1675 | 882 | { | 1676 | 882 | emplace_range(SCN_FWD(range)); | 1677 | 882 | } |
Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSK_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSG_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSH_ _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeIPKwSA_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSE_ Line | Count | Source | 1675 | 740 | { | 1676 | 740 | emplace_range(SCN_FWD(range)); | 1677 | 740 | } |
Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEETnPNS5_9enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSD_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINSt3__112basic_stringIwNS5_11char_traitsIwEENS5_9allocatorIwEEEETnPNS5_9enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSD_ |
1678 | | |
1679 | | string_view_type view() const |
1680 | 6.33k | { |
1681 | 6.33k | return m_view; |
1682 | 6.33k | } scn::v4::impl::contiguous_range_factory<char>::view() const Line | Count | Source | 1680 | 4.18k | { | 1681 | 4.18k | return m_view; | 1682 | 4.18k | } |
scn::v4::impl::contiguous_range_factory<wchar_t>::view() const Line | Count | Source | 1680 | 2.15k | { | 1681 | 2.15k | return m_view; | 1682 | 2.15k | } |
|
1683 | | |
1684 | | constexpr bool stores_allocated_string() const |
1685 | 1.14k | { |
1686 | 1.14k | return m_storage.has_value(); |
1687 | 1.14k | } scn::v4::impl::contiguous_range_factory<char>::stores_allocated_string() const Line | Count | Source | 1685 | 788 | { | 1686 | 788 | return m_storage.has_value(); | 1687 | 788 | } |
scn::v4::impl::contiguous_range_factory<wchar_t>::stores_allocated_string() const Line | Count | Source | 1685 | 356 | { | 1686 | 356 | return m_storage.has_value(); | 1687 | 356 | } |
|
1688 | | |
1689 | | string_type& get_allocated_string() & |
1690 | 572 | { |
1691 | 572 | SCN_EXPECT(stores_allocated_string()); |
1692 | 572 | return *m_storage; |
1693 | 572 | } scn::v4::impl::contiguous_range_factory<char>::get_allocated_string() & Line | Count | Source | 1690 | 394 | { | 1691 | 394 | SCN_EXPECT(stores_allocated_string()); | 1692 | 394 | return *m_storage; | 1693 | 394 | } |
scn::v4::impl::contiguous_range_factory<wchar_t>::get_allocated_string() & Line | Count | Source | 1690 | 178 | { | 1691 | 178 | SCN_EXPECT(stores_allocated_string()); | 1692 | 178 | return *m_storage; | 1693 | 178 | } |
|
1694 | | const string_type& get_allocated_string() const& |
1695 | | { |
1696 | | SCN_EXPECT(stores_allocated_string()); |
1697 | | return *m_storage; |
1698 | | } |
1699 | | string_type&& get_allocated_string() && |
1700 | | { |
1701 | | SCN_EXPECT(stores_allocated_string()); |
1702 | | return *m_storage; |
1703 | | } |
1704 | | |
1705 | | string_type& make_into_allocated_string() |
1706 | 0 | { |
1707 | 0 | if (stores_allocated_string()) { |
1708 | 0 | return get_allocated_string(); |
1709 | 0 | } |
1710 | | |
1711 | 0 | auto& str = m_storage.emplace(m_view.data(), m_view.size()); |
1712 | 0 | m_view = string_view_type{str.data(), str.size()}; |
1713 | 0 | return str; |
1714 | 0 | } Unexecuted instantiation: scn::v4::impl::contiguous_range_factory<char>::make_into_allocated_string() Unexecuted instantiation: scn::v4::impl::contiguous_range_factory<wchar_t>::make_into_allocated_string() |
1715 | | |
1716 | | private: |
1717 | | template <typename Range> |
1718 | | void emplace_range(Range&& range) |
1719 | 4.14k | { |
1720 | 4.14k | using value_t = ranges::range_value_t<Range>; |
1721 | | |
1722 | | if constexpr (ranges::borrowed_range<Range> && |
1723 | | ranges::contiguous_range<Range> && |
1724 | 1.62k | ranges::sized_range<Range>) { |
1725 | 1.62k | m_storage.reset(); |
1726 | 1.62k | m_view = string_view_type{ranges::data(range), range.size()}; |
1727 | | } |
1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, |
1729 | 0 | std::basic_string<CharT>>) { |
1730 | 0 | m_storage.emplace(SCN_FWD(range)); |
1731 | 0 | m_view = string_view_type{*m_storage}; |
1732 | | } |
1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, |
1734 | | typename detail::basic_scan_buffer< |
1735 | | value_t>::forward_iterator> && |
1736 | 0 | ranges::common_range<Range>) { |
1737 | 0 | auto beg_seg = range.begin().contiguous_segment(); |
1738 | 0 | auto end_seg = range.end().contiguous_segment(); |
1739 | 0 | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != |
1740 | 0 | detail::to_address(end_seg.end()))) { |
1741 | 0 | auto& str = m_storage.emplace(); |
1742 | 0 | str.reserve(range.end().position() - range.begin().position()); |
1743 | 0 | std::copy(range.begin(), range.end(), std::back_inserter(str)); |
1744 | 0 | m_view = string_view_type{str}; |
1745 | 0 | return; |
1746 | 0 | } |
1747 | | |
1748 | 0 | m_view = detail::make_string_view_from_pointers(beg_seg.data(), |
1749 | 0 | end_seg.data()); |
1750 | 0 | m_storage.reset(); |
1751 | | } |
1752 | 2.52k | else { |
1753 | 2.52k | auto& str = m_storage.emplace(); |
1754 | | if constexpr (ranges::sized_range<Range>) { |
1755 | | str.reserve(range.size()); |
1756 | | } |
1757 | 2.52k | if constexpr (ranges::common_range<Range>) { |
1758 | 2.52k | std::copy(ranges::begin(range), ranges::end(range), |
1759 | 2.52k | std::back_inserter(str)); |
1760 | | } |
1761 | | else { |
1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); |
1763 | | ++it) { |
1764 | | str.push_back(*it); |
1765 | | } |
1766 | | } |
1767 | 2.52k | m_view = string_view_type{str}; |
1768 | 2.52k | } |
1769 | 4.14k | } Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<char>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >&&) Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<char>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>&&) void scn::v4::impl::contiguous_range_factory<char>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >&&) Line | Count | Source | 1719 | 2.02k | { | 1720 | 2.02k | using value_t = ranges::range_value_t<Range>; | 1721 | | | 1722 | | if constexpr (ranges::borrowed_range<Range> && | 1723 | | ranges::contiguous_range<Range> && | 1724 | | ranges::sized_range<Range>) { | 1725 | | m_storage.reset(); | 1726 | | m_view = string_view_type{ranges::data(range), range.size()}; | 1727 | | } | 1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1729 | | std::basic_string<CharT>>) { | 1730 | | m_storage.emplace(SCN_FWD(range)); | 1731 | | m_view = string_view_type{*m_storage}; | 1732 | | } | 1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1734 | | typename detail::basic_scan_buffer< | 1735 | | value_t>::forward_iterator> && | 1736 | | ranges::common_range<Range>) { | 1737 | | auto beg_seg = range.begin().contiguous_segment(); | 1738 | | auto end_seg = range.end().contiguous_segment(); | 1739 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1740 | | detail::to_address(end_seg.end()))) { | 1741 | | auto& str = m_storage.emplace(); | 1742 | | str.reserve(range.end().position() - range.begin().position()); | 1743 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1744 | | m_view = string_view_type{str}; | 1745 | | return; | 1746 | | } | 1747 | | | 1748 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1749 | | end_seg.data()); | 1750 | | m_storage.reset(); | 1751 | | } | 1752 | 2.02k | else { | 1753 | 2.02k | auto& str = m_storage.emplace(); | 1754 | | if constexpr (ranges::sized_range<Range>) { | 1755 | | str.reserve(range.size()); | 1756 | | } | 1757 | 2.02k | if constexpr (ranges::common_range<Range>) { | 1758 | 2.02k | std::copy(ranges::begin(range), ranges::end(range), | 1759 | 2.02k | std::back_inserter(str)); | 1760 | | } | 1761 | | else { | 1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1763 | | ++it) { | 1764 | | str.push_back(*it); | 1765 | | } | 1766 | | } | 1767 | 2.02k | m_view = string_view_type{str}; | 1768 | 2.02k | } | 1769 | 2.02k | } |
void scn::v4::impl::contiguous_range_factory<char>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>&&) Line | Count | Source | 1719 | 882 | { | 1720 | 882 | using value_t = ranges::range_value_t<Range>; | 1721 | | | 1722 | | if constexpr (ranges::borrowed_range<Range> && | 1723 | | ranges::contiguous_range<Range> && | 1724 | 882 | ranges::sized_range<Range>) { | 1725 | 882 | m_storage.reset(); | 1726 | 882 | m_view = string_view_type{ranges::data(range), range.size()}; | 1727 | | } | 1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1729 | | std::basic_string<CharT>>) { | 1730 | | m_storage.emplace(SCN_FWD(range)); | 1731 | | m_view = string_view_type{*m_storage}; | 1732 | | } | 1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1734 | | typename detail::basic_scan_buffer< | 1735 | | value_t>::forward_iterator> && | 1736 | | ranges::common_range<Range>) { | 1737 | | auto beg_seg = range.begin().contiguous_segment(); | 1738 | | auto end_seg = range.end().contiguous_segment(); | 1739 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1740 | | detail::to_address(end_seg.end()))) { | 1741 | | auto& str = m_storage.emplace(); | 1742 | | str.reserve(range.end().position() - range.begin().position()); | 1743 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1744 | | m_view = string_view_type{str}; | 1745 | | return; | 1746 | | } | 1747 | | | 1748 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1749 | | end_seg.data()); | 1750 | | m_storage.reset(); | 1751 | | } | 1752 | | else { | 1753 | | auto& str = m_storage.emplace(); | 1754 | | if constexpr (ranges::sized_range<Range>) { | 1755 | | str.reserve(range.size()); | 1756 | | } | 1757 | | if constexpr (ranges::common_range<Range>) { | 1758 | | std::copy(ranges::begin(range), ranges::end(range), | 1759 | | std::back_inserter(str)); | 1760 | | } | 1761 | | else { | 1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1763 | | ++it) { | 1764 | | str.push_back(*it); | 1765 | | } | 1766 | | } | 1767 | | m_view = string_view_type{str}; | 1768 | | } | 1769 | 882 | } |
Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >&&) Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>&&) void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >&&) Line | Count | Source | 1719 | 494 | { | 1720 | 494 | using value_t = ranges::range_value_t<Range>; | 1721 | | | 1722 | | if constexpr (ranges::borrowed_range<Range> && | 1723 | | ranges::contiguous_range<Range> && | 1724 | | ranges::sized_range<Range>) { | 1725 | | m_storage.reset(); | 1726 | | m_view = string_view_type{ranges::data(range), range.size()}; | 1727 | | } | 1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1729 | | std::basic_string<CharT>>) { | 1730 | | m_storage.emplace(SCN_FWD(range)); | 1731 | | m_view = string_view_type{*m_storage}; | 1732 | | } | 1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1734 | | typename detail::basic_scan_buffer< | 1735 | | value_t>::forward_iterator> && | 1736 | | ranges::common_range<Range>) { | 1737 | | auto beg_seg = range.begin().contiguous_segment(); | 1738 | | auto end_seg = range.end().contiguous_segment(); | 1739 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1740 | | detail::to_address(end_seg.end()))) { | 1741 | | auto& str = m_storage.emplace(); | 1742 | | str.reserve(range.end().position() - range.begin().position()); | 1743 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1744 | | m_view = string_view_type{str}; | 1745 | | return; | 1746 | | } | 1747 | | | 1748 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1749 | | end_seg.data()); | 1750 | | m_storage.reset(); | 1751 | | } | 1752 | 494 | else { | 1753 | 494 | auto& str = m_storage.emplace(); | 1754 | | if constexpr (ranges::sized_range<Range>) { | 1755 | | str.reserve(range.size()); | 1756 | | } | 1757 | 494 | if constexpr (ranges::common_range<Range>) { | 1758 | 494 | std::copy(ranges::begin(range), ranges::end(range), | 1759 | 494 | std::back_inserter(str)); | 1760 | | } | 1761 | | else { | 1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1763 | | ++it) { | 1764 | | str.push_back(*it); | 1765 | | } | 1766 | | } | 1767 | 494 | m_view = string_view_type{str}; | 1768 | 494 | } | 1769 | 494 | } |
void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>&&) Line | Count | Source | 1719 | 740 | { | 1720 | 740 | using value_t = ranges::range_value_t<Range>; | 1721 | | | 1722 | | if constexpr (ranges::borrowed_range<Range> && | 1723 | | ranges::contiguous_range<Range> && | 1724 | 740 | ranges::sized_range<Range>) { | 1725 | 740 | m_storage.reset(); | 1726 | 740 | m_view = string_view_type{ranges::data(range), range.size()}; | 1727 | | } | 1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1729 | | std::basic_string<CharT>>) { | 1730 | | m_storage.emplace(SCN_FWD(range)); | 1731 | | m_view = string_view_type{*m_storage}; | 1732 | | } | 1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1734 | | typename detail::basic_scan_buffer< | 1735 | | value_t>::forward_iterator> && | 1736 | | ranges::common_range<Range>) { | 1737 | | auto beg_seg = range.begin().contiguous_segment(); | 1738 | | auto end_seg = range.end().contiguous_segment(); | 1739 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1740 | | detail::to_address(end_seg.end()))) { | 1741 | | auto& str = m_storage.emplace(); | 1742 | | str.reserve(range.end().position() - range.begin().position()); | 1743 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1744 | | m_view = string_view_type{str}; | 1745 | | return; | 1746 | | } | 1747 | | | 1748 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1749 | | end_seg.data()); | 1750 | | m_storage.reset(); | 1751 | | } | 1752 | | else { | 1753 | | auto& str = m_storage.emplace(); | 1754 | | if constexpr (ranges::sized_range<Range>) { | 1755 | | str.reserve(range.size()); | 1756 | | } | 1757 | | if constexpr (ranges::common_range<Range>) { | 1758 | | std::copy(ranges::begin(range), ranges::end(range), | 1759 | | std::back_inserter(str)); | 1760 | | } | 1761 | | else { | 1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1763 | | ++it) { | 1764 | | str.push_back(*it); | 1765 | | } | 1766 | | } | 1767 | | m_view = string_view_type{str}; | 1768 | | } | 1769 | 740 | } |
Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<char>::emplace_range<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&&) |
1770 | | |
1771 | | std::optional<string_type> m_storage{std::nullopt}; |
1772 | | string_view_type m_view{}; |
1773 | | }; |
1774 | | |
1775 | | template <typename Range> |
1776 | | contiguous_range_factory(Range) |
1777 | | -> contiguous_range_factory<detail::char_t<detail::remove_cvref_t<Range>>>; |
1778 | | |
1779 | | template <typename Range> |
1780 | | auto make_contiguous_buffer(Range&& range) |
1781 | 46.0k | { |
1782 | | if constexpr (ranges::borrowed_range<Range> && |
1783 | | ranges::contiguous_range<Range> && |
1784 | 43.4k | ranges::sized_range<Range>) { |
1785 | 43.4k | return string_view_wrapper{SCN_FWD(range)}; |
1786 | | } |
1787 | 2.52k | else { |
1788 | 2.52k | return contiguous_range_factory{SCN_FWD(range)}; |
1789 | 2.52k | } |
1790 | 46.0k | } Unexecuted instantiation: auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >&&) Unexecuted instantiation: auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>&&) auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >&&) Line | Count | Source | 1781 | 2.02k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | | ranges::sized_range<Range>) { | 1785 | | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | 2.02k | else { | 1788 | 2.02k | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | 2.02k | } | 1790 | 2.02k | } |
auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>&&) Line | Count | Source | 1781 | 12.0k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | 12.0k | ranges::sized_range<Range>) { | 1785 | 12.0k | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | | else { | 1788 | | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | | } | 1790 | 12.0k | } |
auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>&>(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>&) Line | Count | Source | 1781 | 16.4k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | 16.4k | ranges::sized_range<Range>) { | 1785 | 16.4k | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | | else { | 1788 | | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | | } | 1790 | 16.4k | } |
Unexecuted instantiation: auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >&&) Unexecuted instantiation: auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>&&) auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >&&) Line | Count | Source | 1781 | 494 | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | | ranges::sized_range<Range>) { | 1785 | | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | 494 | else { | 1788 | 494 | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | 494 | } | 1790 | 494 | } |
auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>&&) Line | Count | Source | 1781 | 8.18k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | 8.18k | ranges::sized_range<Range>) { | 1785 | 8.18k | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | | else { | 1788 | | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | | } | 1790 | 8.18k | } |
auto scn::v4::impl::make_contiguous_buffer<std::__1::basic_string_view<char, std::__1::char_traits<char> >&>(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 1781 | 6.82k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | 6.82k | ranges::sized_range<Range>) { | 1785 | 6.82k | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | | else { | 1788 | | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | | } | 1790 | 6.82k | } |
|
1791 | | } // namespace impl |
1792 | | |
1793 | | ///////////////////////////////////////////////////////////////// |
1794 | | // locale stuff |
1795 | | ///////////////////////////////////////////////////////////////// |
1796 | | |
1797 | | #if !SCN_DISABLE_LOCALE |
1798 | | |
1799 | | namespace detail { |
1800 | | extern template locale_ref::locale_ref(const std::locale&); |
1801 | | extern template auto locale_ref::get() const -> std::locale; |
1802 | | } // namespace detail |
1803 | | |
1804 | | namespace impl { |
1805 | | template <typename Facet> |
1806 | | const Facet& get_facet(detail::locale_ref loc) |
1807 | | { |
1808 | | auto stdloc = loc.get<std::locale>(); |
1809 | | SCN_EXPECT(std::has_facet<Facet>(stdloc)); |
1810 | | return std::use_facet<Facet>(stdloc); |
1811 | | } |
1812 | | |
1813 | | template <typename Facet> |
1814 | | const Facet& get_or_add_facet(std::locale& stdloc) |
1815 | 168 | { |
1816 | 168 | if (std::has_facet<Facet>(stdloc)) { |
1817 | 168 | return std::use_facet<Facet>(stdloc); |
1818 | 168 | } |
1819 | 0 | stdloc = std::locale(stdloc, new Facet{}); |
1820 | 0 | return std::use_facet<Facet>(stdloc); |
1821 | 168 | } std::__1::numpunct<char> const& scn::v4::impl::get_or_add_facet<std::__1::numpunct<char> >(std::__1::locale&) Line | Count | Source | 1815 | 74 | { | 1816 | 74 | if (std::has_facet<Facet>(stdloc)) { | 1817 | 74 | return std::use_facet<Facet>(stdloc); | 1818 | 74 | } | 1819 | 0 | stdloc = std::locale(stdloc, new Facet{}); | 1820 | 0 | return std::use_facet<Facet>(stdloc); | 1821 | 74 | } |
std::__1::numpunct<wchar_t> const& scn::v4::impl::get_or_add_facet<std::__1::numpunct<wchar_t> >(std::__1::locale&) Line | Count | Source | 1815 | 94 | { | 1816 | 94 | if (std::has_facet<Facet>(stdloc)) { | 1817 | 94 | return std::use_facet<Facet>(stdloc); | 1818 | 94 | } | 1819 | 0 | stdloc = std::locale(stdloc, new Facet{}); | 1820 | 0 | return std::use_facet<Facet>(stdloc); | 1821 | 94 | } |
|
1822 | | |
1823 | | class clocale_restorer { |
1824 | | public: |
1825 | 0 | clocale_restorer(int cat) : m_category(cat) |
1826 | 0 | { |
1827 | 0 | const auto loc = std::setlocale(cat, nullptr); |
1828 | 0 | std::strcpy(m_locbuf, loc); |
1829 | 0 | } |
1830 | | ~clocale_restorer() |
1831 | 0 | { |
1832 | | // Restore locale to what it was before |
1833 | 0 | std::setlocale(m_category, m_locbuf); |
1834 | 0 | } |
1835 | | |
1836 | | clocale_restorer(const clocale_restorer&) = delete; |
1837 | | clocale_restorer(clocale_restorer&&) = delete; |
1838 | | clocale_restorer& operator=(const clocale_restorer&) = delete; |
1839 | | clocale_restorer& operator=(clocale_restorer&&) = delete; |
1840 | | |
1841 | | private: |
1842 | | // For whatever reason, this cannot be stored in the heap if |
1843 | | // setlocale hasn't been called before, or msan errors with |
1844 | | // 'use-of-unitialized-value' when resetting the locale |
1845 | | // back. POSIX specifies that the content of loc may not be |
1846 | | // static, so we need to save it ourselves |
1847 | | char m_locbuf[64] = {0}; |
1848 | | |
1849 | | int m_category; |
1850 | | }; |
1851 | | |
1852 | | class set_clocale_classic_guard { |
1853 | | public: |
1854 | 0 | set_clocale_classic_guard(int cat) : m_restorer(cat) |
1855 | 0 | { |
1856 | 0 | std::setlocale(cat, "C"); |
1857 | 0 | } |
1858 | | |
1859 | | private: |
1860 | | clocale_restorer m_restorer; |
1861 | | }; |
1862 | | } // namespace impl |
1863 | | |
1864 | | namespace impl { |
1865 | | struct classic_with_thsep_tag {}; |
1866 | | |
1867 | | template <typename CharT> |
1868 | | struct localized_number_formatting_options { |
1869 | 2.11k | localized_number_formatting_options() = default; scn::v4::impl::localized_number_formatting_options<char>::localized_number_formatting_options() Line | Count | Source | 1869 | 1.24k | localized_number_formatting_options() = default; |
scn::v4::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options() Line | Count | Source | 1869 | 874 | localized_number_formatting_options() = default; |
|
1870 | | |
1871 | | localized_number_formatting_options(classic_with_thsep_tag) |
1872 | 0 | { |
1873 | 0 | grouping = "\3"; |
1874 | 0 | thousands_sep = CharT{','}; |
1875 | 0 | } Unexecuted instantiation: scn::v4::impl::localized_number_formatting_options<char>::localized_number_formatting_options(scn::v4::impl::classic_with_thsep_tag) Unexecuted instantiation: scn::v4::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options(scn::v4::impl::classic_with_thsep_tag) |
1876 | | |
1877 | | localized_number_formatting_options(detail::locale_ref loc) |
1878 | 132 | { |
1879 | 132 | auto stdloc = loc.get<std::locale>(); |
1880 | 132 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); |
1881 | 132 | grouping = numpunct.grouping(); |
1882 | 132 | thousands_sep = |
1883 | 132 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; |
1884 | 132 | decimal_point = numpunct.decimal_point(); |
1885 | 132 | } scn::v4::impl::localized_number_formatting_options<char>::localized_number_formatting_options(scn::v4::detail::locale_ref) Line | Count | Source | 1878 | 54 | { | 1879 | 54 | auto stdloc = loc.get<std::locale>(); | 1880 | 54 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); | 1881 | 54 | grouping = numpunct.grouping(); | 1882 | 54 | thousands_sep = | 1883 | 54 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; | 1884 | 54 | decimal_point = numpunct.decimal_point(); | 1885 | 54 | } |
scn::v4::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options(scn::v4::detail::locale_ref) Line | Count | Source | 1878 | 78 | { | 1879 | 78 | auto stdloc = loc.get<std::locale>(); | 1880 | 78 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); | 1881 | 78 | grouping = numpunct.grouping(); | 1882 | 78 | thousands_sep = | 1883 | 78 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; | 1884 | 78 | decimal_point = numpunct.decimal_point(); | 1885 | 78 | } |
|
1886 | | |
1887 | | std::string grouping{}; |
1888 | | CharT thousands_sep{0}; |
1889 | | CharT decimal_point{CharT{'.'}}; |
1890 | | }; |
1891 | | } // namespace impl |
1892 | | |
1893 | | #else |
1894 | | |
1895 | | namespace impl { |
1896 | | struct set_clocale_classic_guard { |
1897 | | set_clocale_classic_guard(int) {} |
1898 | | }; |
1899 | | |
1900 | | struct classic_with_thsep_tag {}; |
1901 | | |
1902 | | template <typename CharT> |
1903 | | struct localized_number_formatting_options { |
1904 | | localized_number_formatting_options() = default; |
1905 | | |
1906 | | localized_number_formatting_options(classic_with_thsep_tag) |
1907 | | { |
1908 | | grouping = "\3"; |
1909 | | thousands_sep = CharT{','}; |
1910 | | } |
1911 | | |
1912 | | std::string grouping{}; |
1913 | | CharT thousands_sep{0}; |
1914 | | CharT decimal_point{CharT{'.'}}; |
1915 | | }; |
1916 | | } // namespace impl |
1917 | | |
1918 | | #endif // !SCN_DISABLE_LOCALE |
1919 | | |
1920 | | ///////////////////////////////////////////////////////////////// |
1921 | | // Range reading algorithms |
1922 | | ///////////////////////////////////////////////////////////////// |
1923 | | |
1924 | | namespace impl { |
1925 | | |
1926 | | std::string_view::iterator find_classic_space_narrow_fast( |
1927 | | std::string_view source); |
1928 | | |
1929 | | std::string_view::iterator find_classic_nonspace_narrow_fast( |
1930 | | std::string_view source); |
1931 | | |
1932 | | std::string_view::iterator find_nondecimal_digit_narrow_fast( |
1933 | | std::string_view source); |
1934 | | |
1935 | | template <typename Range> |
1936 | | auto read_all(Range range) -> ranges::const_iterator_t<Range> |
1937 | 1.81k | { |
1938 | 1.81k | return ranges::next(range.begin(), range.end()); |
1939 | 1.81k | } _ZN3scn2v44impl8read_allINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1937 | 882 | { | 1938 | 882 | return ranges::next(range.begin(), range.end()); | 1939 | 882 | } |
Unexecuted instantiation: _ZN3scn2v44impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ _ZN3scn2v44impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 1937 | 144 | { | 1938 | 144 | return ranges::next(range.begin(), range.end()); | 1939 | 144 | } |
_ZN3scn2v44impl8read_allINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1937 | 740 | { | 1938 | 740 | return ranges::next(range.begin(), range.end()); | 1939 | 740 | } |
Unexecuted instantiation: _ZN3scn2v44impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ _ZN3scn2v44impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 1937 | 48 | { | 1938 | 48 | return ranges::next(range.begin(), range.end()); | 1939 | 48 | } |
|
1940 | | |
1941 | | template <typename Range> |
1942 | | auto read_code_unit(Range range) |
1943 | | -> eof_expected<ranges::const_iterator_t<Range>> |
1944 | 14.9k | { |
1945 | 14.9k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
1946 | 0 | return unexpected(e); |
1947 | 0 | } |
1948 | | |
1949 | 14.9k | return ranges::next(range.begin()); |
1950 | 14.9k | } Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 1944 | 2.32k | { | 1945 | 2.32k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 2.32k | return ranges::next(range.begin()); | 1950 | 2.32k | } |
_ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 1944 | 40 | { | 1945 | 40 | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 40 | return ranges::next(range.begin()); | 1950 | 40 | } |
_ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 1944 | 6.33k | { | 1945 | 6.33k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 6.33k | return ranges::next(range.begin()); | 1950 | 6.33k | } |
Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 1944 | 940 | { | 1945 | 940 | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 940 | return ranges::next(range.begin()); | 1950 | 940 | } |
_ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 1944 | 44 | { | 1945 | 44 | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 44 | return ranges::next(range.begin()); | 1950 | 44 | } |
_ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 1944 | 5.28k | { | 1945 | 5.28k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 5.28k | return ranges::next(range.begin()); | 1950 | 5.28k | } |
|
1951 | | |
1952 | | template <typename Range> |
1953 | | auto read_exactly_n_code_units(Range range, std::ptrdiff_t count) |
1954 | | -> eof_expected<ranges::const_iterator_t<Range>> |
1955 | 40.4k | { |
1956 | 40.4k | SCN_EXPECT(count >= 0); |
1957 | | |
1958 | 40.4k | if constexpr (ranges::sized_range<Range>) { |
1959 | 33.1k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); |
1960 | 33.1k | if (sz < count) { |
1961 | 650 | return unexpected(eof_error::eof); |
1962 | 650 | } |
1963 | | |
1964 | 32.5k | return ranges::next(range.begin(), count); |
1965 | | } |
1966 | 7.25k | else { |
1967 | 7.25k | auto it = range.begin(); |
1968 | 7.25k | if (guaranteed_minimum_size(range) >= count) { |
1969 | 0 | return ranges::next(it, count); |
1970 | 0 | } |
1971 | | |
1972 | 27.7k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { |
1973 | 21.1k | if (it == range.end()) { |
1974 | 702 | return unexpected(eof_error::eof); |
1975 | 702 | } |
1976 | 21.1k | } |
1977 | | |
1978 | 6.55k | return it; |
1979 | 7.25k | } |
1980 | 40.4k | } Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_l Line | Count | Source | 1955 | 28.5k | { | 1956 | 28.5k | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | 28.5k | if constexpr (ranges::sized_range<Range>) { | 1959 | 28.5k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | 28.5k | if (sz < count) { | 1961 | 524 | return unexpected(eof_error::eof); | 1962 | 524 | } | 1963 | | | 1964 | 28.0k | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | | else { | 1967 | | auto it = range.begin(); | 1968 | | if (guaranteed_minimum_size(range) >= count) { | 1969 | | return ranges::next(it, count); | 1970 | | } | 1971 | | | 1972 | | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | | if (it == range.end()) { | 1974 | | return unexpected(eof_error::eof); | 1975 | | } | 1976 | | } | 1977 | | | 1978 | | return it; | 1979 | | } | 1980 | 28.5k | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESS_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_l Line | Count | Source | 1955 | 5.18k | { | 1956 | 5.18k | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 5.18k | else { | 1967 | 5.18k | auto it = range.begin(); | 1968 | 5.18k | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 18.8k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 13.9k | if (it == range.end()) { | 1974 | 290 | return unexpected(eof_error::eof); | 1975 | 290 | } | 1976 | 13.9k | } | 1977 | | | 1978 | 4.89k | return it; | 1979 | 5.18k | } | 1980 | 5.18k | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_l Line | Count | Source | 1955 | 4.60k | { | 1956 | 4.60k | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | 4.60k | if constexpr (ranges::sized_range<Range>) { | 1959 | 4.60k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | 4.60k | if (sz < count) { | 1961 | 126 | return unexpected(eof_error::eof); | 1962 | 126 | } | 1963 | | | 1964 | 4.47k | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | | else { | 1967 | | auto it = range.begin(); | 1968 | | if (guaranteed_minimum_size(range) >= count) { | 1969 | | return ranges::next(it, count); | 1970 | | } | 1971 | | | 1972 | | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | | if (it == range.end()) { | 1974 | | return unexpected(eof_error::eof); | 1975 | | } | 1976 | | } | 1977 | | | 1978 | | return it; | 1979 | | } | 1980 | 4.60k | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESS_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_l Line | Count | Source | 1955 | 590 | { | 1956 | 590 | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 590 | else { | 1967 | 590 | auto it = range.begin(); | 1968 | 590 | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 1.91k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 1.41k | if (it == range.end()) { | 1974 | 96 | return unexpected(eof_error::eof); | 1975 | 96 | } | 1976 | 1.41k | } | 1977 | | | 1978 | 494 | return it; | 1979 | 590 | } | 1980 | 590 | } |
_ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_l Line | Count | Source | 1955 | 412 | { | 1956 | 412 | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 412 | else { | 1967 | 412 | auto it = range.begin(); | 1968 | 412 | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 1.69k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 1.37k | if (it == range.end()) { | 1974 | 90 | return unexpected(eof_error::eof); | 1975 | 90 | } | 1976 | 1.37k | } | 1977 | | | 1978 | 322 | return it; | 1979 | 412 | } | 1980 | 412 | } |
_ZN3scn2v44impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_l Line | Count | Source | 1955 | 792 | { | 1956 | 792 | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 792 | else { | 1967 | 792 | auto it = range.begin(); | 1968 | 792 | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 3.95k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 3.32k | if (it == range.end()) { | 1974 | 160 | return unexpected(eof_error::eof); | 1975 | 160 | } | 1976 | 3.32k | } | 1977 | | | 1978 | 632 | return it; | 1979 | 792 | } | 1980 | 792 | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_l Line | Count | Source | 1955 | 276 | { | 1956 | 276 | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 276 | else { | 1967 | 276 | auto it = range.begin(); | 1968 | 276 | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 1.35k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 1.14k | if (it == range.end()) { | 1974 | 66 | return unexpected(eof_error::eof); | 1975 | 66 | } | 1976 | 1.14k | } | 1977 | | | 1978 | 210 | return it; | 1979 | 276 | } | 1980 | 276 | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_l |
1981 | | |
1982 | | template <typename Iterator, typename CharT> |
1983 | | struct read_code_point_into_result { |
1984 | | Iterator iterator; |
1985 | | std::basic_string<CharT> codepoint; |
1986 | | |
1987 | | bool is_valid() const |
1988 | 347k | { |
1989 | 347k | return !codepoint.empty(); |
1990 | 347k | } Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, char>::is_valid() const Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, char>::is_valid() const Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, char>::is_valid() const scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, char>::is_valid() const Line | Count | Source | 1988 | 31.6k | { | 1989 | 31.6k | return !codepoint.empty(); | 1990 | 31.6k | } |
Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, char>::is_valid() const scn::v4::impl::read_code_point_into_result<char const*, char>::is_valid() const Line | Count | Source | 1988 | 261k | { | 1989 | 261k | return !codepoint.empty(); | 1990 | 261k | } |
Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, wchar_t>::is_valid() const Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, wchar_t>::is_valid() const Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, wchar_t>::is_valid() const scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, wchar_t>::is_valid() const Line | Count | Source | 1988 | 11.9k | { | 1989 | 11.9k | return !codepoint.empty(); | 1990 | 11.9k | } |
scn::v4::impl::read_code_point_into_result<wchar_t const*, wchar_t>::is_valid() const Line | Count | Source | 1988 | 37.9k | { | 1989 | 37.9k | return !codepoint.empty(); | 1990 | 37.9k | } |
Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, wchar_t>::is_valid() const scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, char>::is_valid() const Line | Count | Source | 1988 | 3.45k | { | 1989 | 3.45k | return !codepoint.empty(); | 1990 | 3.45k | } |
scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, wchar_t>::is_valid() const Line | Count | Source | 1988 | 860 | { | 1989 | 860 | return !codepoint.empty(); | 1990 | 860 | } |
|
1991 | | }; |
1992 | | |
1993 | | template <typename Range> |
1994 | | auto read_code_point_into(Range range) |
1995 | | -> read_code_point_into_result<ranges::const_iterator_t<Range>, |
1996 | | detail::char_t<Range>> |
1997 | 347k | { |
1998 | 347k | SCN_EXPECT(!is_range_eof(range)); |
1999 | 347k | using string_type = std::basic_string<detail::char_t<Range>>; |
2000 | | |
2001 | 347k | auto it = range.begin(); |
2002 | 347k | const auto len = detail::code_point_length_by_starting_code_unit(*it); |
2003 | | |
2004 | 347k | if (SCN_UNLIKELY(len == 0)) { |
2005 | 4.35k | ++it; |
2006 | 4.35k | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); |
2007 | 4.35k | return {it, {}}; |
2008 | 4.35k | } |
2009 | | |
2010 | 342k | if (len == 1) { |
2011 | 302k | ++it; |
2012 | 302k | return {it, string_type(1, *range.begin())}; |
2013 | 302k | } |
2014 | | |
2015 | 40.0k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); |
2016 | 40.0k | return {it, string_type{range.begin(), it}}; |
2017 | 342k | } Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISL_EEE4typeEEESL_ Line | Count | Source | 1997 | 31.6k | { | 1998 | 31.6k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 31.6k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 31.6k | auto it = range.begin(); | 2002 | 31.6k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 31.6k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 3.39k | ++it; | 2006 | 3.39k | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 3.39k | return {it, {}}; | 2008 | 3.39k | } | 2009 | | | 2010 | 28.2k | if (len == 1) { | 2011 | 24.6k | ++it; | 2012 | 24.6k | return {it, string_type(1, *range.begin())}; | 2013 | 24.6k | } | 2014 | | | 2015 | 3.57k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 3.57k | return {it, string_type{range.begin(), it}}; | 2017 | 28.2k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISG_EEE4typeEEESG_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISD_EEE4typeEEESD_ Line | Count | Source | 1997 | 261k | { | 1998 | 261k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 261k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 261k | auto it = range.begin(); | 2002 | 261k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 261k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 960 | ++it; | 2006 | 960 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 960 | return {it, {}}; | 2008 | 960 | } | 2009 | | | 2010 | 260k | if (len == 1) { | 2011 | 224k | ++it; | 2012 | 224k | return {it, string_type(1, *range.begin())}; | 2013 | 224k | } | 2014 | | | 2015 | 35.6k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 35.6k | return {it, string_type{range.begin(), it}}; | 2017 | 260k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISD_EEE4typeEEESD_ Line | Count | Source | 1997 | 37.9k | { | 1998 | 37.9k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 37.9k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 37.9k | auto it = range.begin(); | 2002 | 37.9k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 37.9k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 0 | ++it; | 2006 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 0 | return {it, {}}; | 2008 | 0 | } | 2009 | | | 2010 | 37.9k | if (len == 1) { | 2011 | 37.9k | ++it; | 2012 | 37.9k | return {it, string_type(1, *range.begin())}; | 2013 | 37.9k | } | 2014 | | | 2015 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 0 | return {it, string_type{range.begin(), it}}; | 2017 | 37.9k | } |
_ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISL_EEE4typeEEESL_ Line | Count | Source | 1997 | 11.9k | { | 1998 | 11.9k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 11.9k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 11.9k | auto it = range.begin(); | 2002 | 11.9k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 11.9k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 0 | ++it; | 2006 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 0 | return {it, {}}; | 2008 | 0 | } | 2009 | | | 2010 | 11.9k | if (len == 1) { | 2011 | 11.9k | ++it; | 2012 | 11.9k | return {it, string_type(1, *range.begin())}; | 2013 | 11.9k | } | 2014 | | | 2015 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 0 | return {it, string_type{range.begin(), it}}; | 2017 | 11.9k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISG_EEE4typeEEESG_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISP_EEE4typeEEESP_ Line | Count | Source | 1997 | 3.45k | { | 1998 | 3.45k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 3.45k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 3.45k | auto it = range.begin(); | 2002 | 3.45k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 3.45k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 0 | ++it; | 2006 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 0 | return {it, {}}; | 2008 | 0 | } | 2009 | | | 2010 | 3.45k | if (len == 1) { | 2011 | 2.60k | ++it; | 2012 | 2.60k | return {it, string_type(1, *range.begin())}; | 2013 | 2.60k | } | 2014 | | | 2015 | 854 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 854 | return {it, string_type{range.begin(), it}}; | 2017 | 3.45k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISF_EEE4typeEEESF_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISI_EEE4typeEEESI_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISP_EEE4typeEEESP_ Line | Count | Source | 1997 | 860 | { | 1998 | 860 | SCN_EXPECT(!is_range_eof(range)); | 1999 | 860 | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 860 | auto it = range.begin(); | 2002 | 860 | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 860 | if (SCN_UNLIKELY(len == 0)) { | 2005 | 0 | ++it; | 2006 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 0 | return {it, {}}; | 2008 | 0 | } | 2009 | | | 2010 | 860 | if (len == 1) { | 2011 | 860 | ++it; | 2012 | 860 | return {it, string_type(1, *range.begin())}; | 2013 | 860 | } | 2014 | | | 2015 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 0 | return {it, string_type{range.begin(), it}}; | 2017 | 860 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISF_EEE4typeEEESF_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISI_EEE4typeEEESI_ |
2018 | | |
2019 | | template <typename Range> |
2020 | | auto read_code_point(Range range) -> ranges::const_iterator_t<Range> |
2021 | | { |
2022 | | return read_code_point_into(range).iterator; |
2023 | | } |
2024 | | |
2025 | | template <typename Range> |
2026 | | auto read_exactly_n_code_points(Range range, std::ptrdiff_t count) |
2027 | | -> eof_expected<ranges::const_iterator_t<Range>> |
2028 | | { |
2029 | | SCN_EXPECT(count >= 0); |
2030 | | |
2031 | | if (count > 0) { |
2032 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
2033 | | return unexpected(e); |
2034 | | } |
2035 | | } |
2036 | | |
2037 | | auto it = range.begin(); |
2038 | | for (std::ptrdiff_t i = 0; i < count; ++i) { |
2039 | | auto rng = ranges::subrange{it, range.end()}; |
2040 | | |
2041 | | if (auto e = eof_check(rng); SCN_UNLIKELY(!e)) { |
2042 | | return unexpected(e); |
2043 | | } |
2044 | | |
2045 | | it = read_code_point(rng); |
2046 | | } |
2047 | | |
2048 | | return it; |
2049 | | } |
2050 | | |
2051 | | template <typename Range> |
2052 | | auto read_until_code_unit(Range range, |
2053 | | function_ref<bool(detail::char_t<Range>)> pred) |
2054 | | -> ranges::const_iterator_t<Range> |
2055 | 4.81k | { |
2056 | 4.81k | if constexpr (ranges::common_range<Range>) { |
2057 | 1.42k | return std::find_if(range.begin(), range.end(), pred); |
2058 | | } |
2059 | 3.38k | else { |
2060 | 3.38k | auto first = range.begin(); |
2061 | 15.4k | for (; first != range.end(); ++first) { |
2062 | 14.9k | if (pred(*first)) { |
2063 | 2.85k | return first; |
2064 | 2.85k | } |
2065 | 14.9k | } |
2066 | 532 | return first; |
2067 | 3.38k | } |
2068 | 4.81k | } Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 2055 | 1.31k | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | 1.31k | else { | 2060 | 1.31k | auto first = range.begin(); | 2061 | 1.31k | for (; first != range.end(); ++first) { | 2062 | 1.31k | if (pred(*first)) { | 2063 | 1.31k | return first; | 2064 | 1.31k | } | 2065 | 1.31k | } | 2066 | 0 | return first; | 2067 | 1.31k | } | 2068 | 1.31k | } |
_ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 2055 | 790 | { | 2056 | 790 | if constexpr (ranges::common_range<Range>) { | 2057 | 790 | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | | else { | 2060 | | auto first = range.begin(); | 2061 | | for (; first != range.end(); ++first) { | 2062 | | if (pred(*first)) { | 2063 | | return first; | 2064 | | } | 2065 | | } | 2066 | | return first; | 2067 | | } | 2068 | 790 | } |
_ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2055 | 596 | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | 596 | else { | 2060 | 596 | auto first = range.begin(); | 2061 | 11.3k | for (; first != range.end(); ++first) { | 2062 | 11.0k | if (pred(*first)) { | 2063 | 250 | return first; | 2064 | 250 | } | 2065 | 11.0k | } | 2066 | 346 | return first; | 2067 | 596 | } | 2068 | 596 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 2055 | 510 | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | 510 | else { | 2060 | 510 | auto first = range.begin(); | 2061 | 510 | for (; first != range.end(); ++first) { | 2062 | 510 | if (pred(*first)) { | 2063 | 510 | return first; | 2064 | 510 | } | 2065 | 510 | } | 2066 | 0 | return first; | 2067 | 510 | } | 2068 | 510 | } |
_ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 2055 | 638 | { | 2056 | 638 | if constexpr (ranges::common_range<Range>) { | 2057 | 638 | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | | else { | 2060 | | auto first = range.begin(); | 2061 | | for (; first != range.end(); ++first) { | 2062 | | if (pred(*first)) { | 2063 | | return first; | 2064 | | } | 2065 | | } | 2066 | | return first; | 2067 | | } | 2068 | 638 | } |
_ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2055 | 232 | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | 232 | else { | 2060 | 232 | auto first = range.begin(); | 2061 | 1.22k | for (; first != range.end(); ++first) { | 2062 | 1.10k | if (pred(*first)) { | 2063 | 110 | return first; | 2064 | 110 | } | 2065 | 1.10k | } | 2066 | 122 | return first; | 2067 | 232 | } | 2068 | 232 | } |
_ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 2055 | 504 | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | 504 | else { | 2060 | 504 | auto first = range.begin(); | 2061 | 754 | for (; first != range.end(); ++first) { | 2062 | 718 | if (pred(*first)) { | 2063 | 468 | return first; | 2064 | 468 | } | 2065 | 718 | } | 2066 | 36 | return first; | 2067 | 504 | } | 2068 | 504 | } |
_ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 2055 | 228 | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find_if(range.begin(), range.end(), pred); | 2058 | | } | 2059 | 228 | else { | 2060 | 228 | auto first = range.begin(); | 2061 | 302 | for (; first != range.end(); ++first) { | 2062 | 274 | if (pred(*first)) { | 2063 | 200 | return first; | 2064 | 200 | } | 2065 | 274 | } | 2066 | 28 | return first; | 2067 | 228 | } | 2068 | 228 | } |
|
2069 | | |
2070 | | template <typename Range> |
2071 | | auto read_while_code_unit(Range range, |
2072 | | function_ref<bool(detail::char_t<Range>)> pred) |
2073 | | -> ranges::const_iterator_t<Range> |
2074 | 4.04k | { |
2075 | 4.04k | return read_until_code_unit(range, std::not_fn(pred)); |
2076 | 4.04k | } Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 2074 | 1.31k | { | 2075 | 1.31k | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 1.31k | } |
_ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 2074 | 586 | { | 2075 | 586 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 586 | } |
_ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2074 | 278 | { | 2075 | 278 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 278 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 2074 | 510 | { | 2075 | 510 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 510 | } |
_ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 2074 | 488 | { | 2075 | 488 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 488 | } |
_ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2074 | 130 | { | 2075 | 130 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 130 | } |
_ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 2074 | 504 | { | 2075 | 504 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 504 | } |
_ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 2074 | 228 | { | 2075 | 228 | return read_until_code_unit(range, std::not_fn(pred)); | 2076 | 228 | } |
|
2077 | | |
2078 | | template <typename Range> |
2079 | | auto read_until1_code_unit(Range range, |
2080 | | function_ref<bool(detail::char_t<Range>)> pred) |
2081 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2082 | | { |
2083 | | auto it = read_until_code_unit(range, pred); |
2084 | | if (it == range.begin()) { |
2085 | | return unexpected(parse_error::error); |
2086 | | } |
2087 | | return it; |
2088 | | } |
2089 | | |
2090 | | template <typename Range> |
2091 | | auto read_while1_code_unit(Range range, |
2092 | | function_ref<bool(detail::char_t<Range>)> pred) |
2093 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2094 | 1.85k | { |
2095 | 1.85k | auto it = read_while_code_unit(range, pred); |
2096 | 1.85k | if (it == range.begin()) { |
2097 | 1.85k | return unexpected(parse_error::error); |
2098 | 1.85k | } |
2099 | 0 | return it; |
2100 | 1.85k | } Unexecuted instantiation: _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS1_12function_refIFbNDTcl4implISO_EEE4typeEENS1_12fnref_detail11qual_fn_sigISX_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NS1_12function_refIFbNDTcl4implISG_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS1_12function_refIFbNDTcl4implISL_EEE4typeEENS1_12fnref_detail11qual_fn_sigISU_E8functionEEE Line | Count | Source | 2094 | 1.31k | { | 2095 | 1.31k | auto it = read_while_code_unit(range, pred); | 2096 | 1.31k | if (it == range.begin()) { | 2097 | 1.31k | return unexpected(parse_error::error); | 2098 | 1.31k | } | 2099 | 0 | return it; | 2100 | 1.31k | } |
_ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2094 | 22 | { | 2095 | 22 | auto it = read_while_code_unit(range, pred); | 2096 | 22 | if (it == range.begin()) { | 2097 | 22 | return unexpected(parse_error::error); | 2098 | 22 | } | 2099 | 0 | return it; | 2100 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS1_12function_refIFbNDTcl4implISO_EEE4typeEENS1_12fnref_detail11qual_fn_sigISX_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NS1_12function_refIFbNDTcl4implISG_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS1_12function_refIFbNDTcl4implISL_EEE4typeEENS1_12fnref_detail11qual_fn_sigISU_E8functionEEE Line | Count | Source | 2094 | 510 | { | 2095 | 510 | auto it = read_while_code_unit(range, pred); | 2096 | 510 | if (it == range.begin()) { | 2097 | 510 | return unexpected(parse_error::error); | 2098 | 510 | } | 2099 | 0 | return it; | 2100 | 510 | } |
_ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2094 | 6 | { | 2095 | 6 | auto it = read_while_code_unit(range, pred); | 2096 | 6 | if (it == range.begin()) { | 2097 | 6 | return unexpected(parse_error::error); | 2098 | 6 | } | 2099 | 0 | return it; | 2100 | 6 | } |
|
2101 | | |
2102 | | template <typename Range, typename CodeUnits> |
2103 | | auto read_until_code_units(Range range, const CodeUnits& needle) |
2104 | | -> ranges::const_iterator_t<Range> |
2105 | 192 | { |
2106 | 192 | static_assert(ranges::common_range<CodeUnits>); |
2107 | | |
2108 | 192 | if constexpr (ranges::common_range<Range>) { |
2109 | 84 | return std::search(range.begin(), range.end(), needle.begin(), |
2110 | 84 | needle.end()); |
2111 | | } |
2112 | 108 | else { |
2113 | 108 | auto first = range.begin(); |
2114 | 816 | while (true) { |
2115 | 816 | auto it = first; |
2116 | 1.05k | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { |
2117 | 1.05k | if (needle_it == needle.end()) { |
2118 | 72 | return first; |
2119 | 72 | } |
2120 | 978 | if (it == range.end()) { |
2121 | 36 | return it; |
2122 | 36 | } |
2123 | 942 | if (*it != *needle_it) { |
2124 | 708 | break; |
2125 | 708 | } |
2126 | 942 | } |
2127 | 708 | ++first; |
2128 | 708 | } |
2129 | 108 | } |
2130 | 192 | } Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ _ZN3scn2v44impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Line | Count | Source | 2105 | 108 | { | 2106 | 108 | static_assert(ranges::common_range<CodeUnits>); | 2107 | | | 2108 | | if constexpr (ranges::common_range<Range>) { | 2109 | | return std::search(range.begin(), range.end(), needle.begin(), | 2110 | | needle.end()); | 2111 | | } | 2112 | 108 | else { | 2113 | 108 | auto first = range.begin(); | 2114 | 816 | while (true) { | 2115 | 816 | auto it = first; | 2116 | 1.05k | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { | 2117 | 1.05k | if (needle_it == needle.end()) { | 2118 | 72 | return first; | 2119 | 72 | } | 2120 | 978 | if (it == range.end()) { | 2121 | 36 | return it; | 2122 | 36 | } | 2123 | 942 | if (*it != *needle_it) { | 2124 | 708 | break; | 2125 | 708 | } | 2126 | 942 | } | 2127 | 708 | ++first; | 2128 | 708 | } | 2129 | 108 | } | 2130 | 108 | } |
_ZN3scn2v44impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENSt3__117basic_string_viewIcNSA_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Line | Count | Source | 2105 | 84 | { | 2106 | 84 | static_assert(ranges::common_range<CodeUnits>); | 2107 | | | 2108 | 84 | if constexpr (ranges::common_range<Range>) { | 2109 | 84 | return std::search(range.begin(), range.end(), needle.begin(), | 2110 | 84 | needle.end()); | 2111 | | } | 2112 | | else { | 2113 | | auto first = range.begin(); | 2114 | | while (true) { | 2115 | | auto it = first; | 2116 | | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { | 2117 | | if (needle_it == needle.end()) { | 2118 | | return first; | 2119 | | } | 2120 | | if (it == range.end()) { | 2121 | | return it; | 2122 | | } | 2123 | | if (*it != *needle_it) { | 2124 | | break; | 2125 | | } | 2126 | | } | 2127 | | ++first; | 2128 | | } | 2129 | | } | 2130 | 84 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENSt3__117basic_string_viewIwNSA_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ |
2131 | | |
2132 | | template <typename Range, typename CodeUnits> |
2133 | | auto read_while_code_units(Range range, const CodeUnits& needle) |
2134 | | -> ranges::const_iterator_t<Range> |
2135 | 856 | { |
2136 | 856 | static_assert(ranges::common_range<CodeUnits>); |
2137 | | |
2138 | 856 | auto it = range.begin(); |
2139 | 1.17k | while (it != range.end()) { |
2140 | 1.14k | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, |
2141 | 1.14k | needle.size()); |
2142 | 1.14k | if (!r) { |
2143 | 152 | return it; |
2144 | 152 | } |
2145 | 990 | static_assert( |
2146 | 990 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); |
2147 | 990 | if (!std::equal(it, *r, needle.begin())) { |
2148 | 668 | return it; |
2149 | 668 | } |
2150 | 322 | it = *r; |
2151 | 322 | } |
2152 | 36 | SCN_ENSURE(it == range.end()); |
2153 | 36 | return it; |
2154 | 36 | } Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEESM_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_RKT0_ _ZN3scn2v44impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENSt3__117basic_string_viewIcNSA_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Line | Count | Source | 2135 | 206 | { | 2136 | 206 | static_assert(ranges::common_range<CodeUnits>); | 2137 | | | 2138 | 206 | auto it = range.begin(); | 2139 | 364 | while (it != range.end()) { | 2140 | 364 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2141 | 364 | needle.size()); | 2142 | 364 | if (!r) { | 2143 | 6 | return it; | 2144 | 6 | } | 2145 | 358 | static_assert( | 2146 | 358 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2147 | 358 | if (!std::equal(it, *r, needle.begin())) { | 2148 | 200 | return it; | 2149 | 200 | } | 2150 | 158 | it = *r; | 2151 | 158 | } | 2152 | 0 | SCN_ENSURE(it == range.end()); | 2153 | 0 | return it; | 2154 | 0 | } |
_ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Line | Count | Source | 2135 | 238 | { | 2136 | 238 | static_assert(ranges::common_range<CodeUnits>); | 2137 | | | 2138 | 238 | auto it = range.begin(); | 2139 | 402 | while (it != range.end()) { | 2140 | 366 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2141 | 366 | needle.size()); | 2142 | 366 | if (!r) { | 2143 | 56 | return it; | 2144 | 56 | } | 2145 | 310 | static_assert( | 2146 | 310 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2147 | 310 | if (!std::equal(it, *r, needle.begin())) { | 2148 | 146 | return it; | 2149 | 146 | } | 2150 | 164 | it = *r; | 2151 | 164 | } | 2152 | 36 | SCN_ENSURE(it == range.end()); | 2153 | 36 | return it; | 2154 | 36 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEESM_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEES7_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENSt3__117basic_string_viewIwNSA_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Line | Count | Source | 2135 | 412 | { | 2136 | 412 | static_assert(ranges::common_range<CodeUnits>); | 2137 | | | 2138 | 412 | auto it = range.begin(); | 2139 | 412 | while (it != range.end()) { | 2140 | 412 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2141 | 412 | needle.size()); | 2142 | 412 | if (!r) { | 2143 | 90 | return it; | 2144 | 90 | } | 2145 | 322 | static_assert( | 2146 | 322 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2147 | 322 | if (!std::equal(it, *r, needle.begin())) { | 2148 | 322 | return it; | 2149 | 322 | } | 2150 | 0 | it = *r; | 2151 | 0 | } | 2152 | 0 | SCN_ENSURE(it == range.end()); | 2153 | 0 | return it; | 2154 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ |
2155 | | |
2156 | | template <typename Range> |
2157 | | auto read_until_code_point(Range range, function_ref<bool(char32_t)> pred) |
2158 | | -> ranges::const_iterator_t<Range> |
2159 | 20.9k | { |
2160 | 20.9k | auto it = range.begin(); |
2161 | 352k | while (it != range.end()) { |
2162 | 347k | const auto val = |
2163 | 347k | read_code_point_into(ranges::subrange{it, range.end()}); |
2164 | 347k | if (SCN_LIKELY(val.is_valid())) { |
2165 | 342k | const auto cp = detail::decode_code_point_exhaustive( |
2166 | 342k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); |
2167 | 342k | if (pred(cp)) { |
2168 | 15.6k | return it; |
2169 | 15.6k | } |
2170 | 342k | } |
2171 | 331k | it = val.iterator; |
2172 | 331k | } |
2173 | | |
2174 | 5.33k | return it; |
2175 | 20.9k | } Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2159 | 1.01k | { | 2160 | 1.01k | auto it = range.begin(); | 2161 | 15.9k | while (it != range.end()) { | 2162 | 15.5k | const auto val = | 2163 | 15.5k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 15.5k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 14.1k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 14.1k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 14.1k | if (pred(cp)) { | 2168 | 670 | return it; | 2169 | 670 | } | 2170 | 14.1k | } | 2171 | 14.9k | it = val.iterator; | 2172 | 14.9k | } | 2173 | | | 2174 | 340 | return it; | 2175 | 1.01k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbDiEST_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbDiESQ_EE Line | Count | Source | 2159 | 912 | { | 2160 | 912 | auto it = range.begin(); | 2161 | 16.7k | while (it != range.end()) { | 2162 | 16.0k | const auto val = | 2163 | 16.0k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 16.0k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 14.0k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 14.0k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 14.0k | if (pred(cp)) { | 2168 | 192 | return it; | 2169 | 192 | } | 2170 | 14.0k | } | 2171 | 15.8k | it = val.iterator; | 2172 | 15.8k | } | 2173 | | | 2174 | 720 | return it; | 2175 | 912 | } |
_ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2159 | 2.32k | { | 2160 | 2.32k | auto it = range.begin(); | 2161 | 261k | while (it != range.end()) { | 2162 | 261k | const auto val = | 2163 | 261k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 261k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 260k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 260k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 260k | if (pred(cp)) { | 2168 | 2.14k | return it; | 2169 | 2.14k | } | 2170 | 260k | } | 2171 | 259k | it = val.iterator; | 2172 | 259k | } | 2173 | | | 2174 | 180 | return it; | 2175 | 2.32k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v44impl21read_until_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbDiESG_EE Line | Count | Source | 2159 | 2.11k | { | 2160 | 2.11k | auto it = range.begin(); | 2161 | 3.32k | while (it != range.end()) { | 2162 | 2.39k | const auto val = | 2163 | 2.39k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 2.39k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 2.39k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 2.39k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 2.39k | if (pred(cp)) { | 2168 | 1.17k | return it; | 2169 | 1.17k | } | 2170 | 2.39k | } | 2171 | 1.21k | it = val.iterator; | 2172 | 1.21k | } | 2173 | | | 2174 | 936 | return it; | 2175 | 2.11k | } |
_ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2159 | 486 | { | 2160 | 486 | auto it = range.begin(); | 2161 | 4.19k | while (it != range.end()) { | 2162 | 4.10k | const auto val = | 2163 | 4.10k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 4.10k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 4.10k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 4.10k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 4.10k | if (pred(cp)) { | 2168 | 396 | return it; | 2169 | 396 | } | 2170 | 4.10k | } | 2171 | 3.70k | it = val.iterator; | 2172 | 3.70k | } | 2173 | | | 2174 | 90 | return it; | 2175 | 486 | } |
_ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2159 | 10.6k | { | 2160 | 10.6k | auto it = range.begin(); | 2161 | 38.0k | while (it != range.end()) { | 2162 | 35.5k | const auto val = | 2163 | 35.5k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 35.5k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 35.5k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 35.5k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 35.5k | if (pred(cp)) { | 2168 | 8.06k | return it; | 2169 | 8.06k | } | 2170 | 35.5k | } | 2171 | 27.4k | it = val.iterator; | 2172 | 27.4k | } | 2173 | | | 2174 | 2.55k | return it; | 2175 | 10.6k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbDiEST_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbDiESQ_EE Line | Count | Source | 2159 | 330 | { | 2160 | 330 | auto it = range.begin(); | 2161 | 8.17k | while (it != range.end()) { | 2162 | 7.87k | const auto val = | 2163 | 7.87k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 7.87k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 7.87k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 7.87k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 7.87k | if (pred(cp)) { | 2168 | 36 | return it; | 2169 | 36 | } | 2170 | 7.87k | } | 2171 | 7.84k | it = val.iterator; | 2172 | 7.84k | } | 2173 | | | 2174 | 294 | return it; | 2175 | 330 | } |
_ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2159 | 2.29k | { | 2160 | 2.29k | auto it = range.begin(); | 2161 | 3.67k | while (it != range.end()) { | 2162 | 3.45k | const auto val = | 2163 | 3.45k | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 3.45k | if (SCN_LIKELY(val.is_valid())) { | 2165 | 3.45k | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 3.45k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 3.45k | if (pred(cp)) { | 2168 | 2.07k | return it; | 2169 | 2.07k | } | 2170 | 3.45k | } | 2171 | 1.38k | it = val.iterator; | 2172 | 1.38k | } | 2173 | | | 2174 | 222 | return it; | 2175 | 2.29k | } |
_ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2159 | 860 | { | 2160 | 860 | auto it = range.begin(); | 2161 | 860 | while (it != range.end()) { | 2162 | 860 | const auto val = | 2163 | 860 | read_code_point_into(ranges::subrange{it, range.end()}); | 2164 | 860 | if (SCN_LIKELY(val.is_valid())) { | 2165 | 860 | const auto cp = detail::decode_code_point_exhaustive( | 2166 | 860 | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2167 | 860 | if (pred(cp)) { | 2168 | 860 | return it; | 2169 | 860 | } | 2170 | 860 | } | 2171 | 0 | it = val.iterator; | 2172 | 0 | } | 2173 | | | 2174 | 0 | return it; | 2175 | 860 | } |
|
2176 | | |
2177 | | template <typename Range> |
2178 | | auto read_while_code_point(Range range, function_ref<bool(char32_t)> pred) |
2179 | | -> ranges::const_iterator_t<Range> |
2180 | 16.8k | { |
2181 | 16.8k | return read_until_code_point(range, std::not_fn(pred)); |
2182 | 16.8k | } Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2180 | 818 | { | 2181 | 818 | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 818 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v44impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2180 | 2.11k | { | 2181 | 2.11k | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 2.11k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v44impl21read_while_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbDiESG_EE Line | Count | Source | 2180 | 2.11k | { | 2181 | 2.11k | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 2.11k | } |
_ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2180 | 390 | { | 2181 | 390 | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 390 | } |
_ZN3scn2v44impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2180 | 8.25k | { | 2181 | 8.25k | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 8.25k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2180 | 2.29k | { | 2181 | 2.29k | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 2.29k | } |
_ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2180 | 860 | { | 2181 | 860 | return read_until_code_point(range, std::not_fn(pred)); | 2182 | 860 | } |
|
2183 | | |
2184 | | template <typename Range> |
2185 | | auto read_until_classic_space(Range range) -> ranges::const_iterator_t<Range> |
2186 | 6.27k | { |
2187 | | if constexpr (ranges::contiguous_range<Range> && |
2188 | | ranges::sized_range<Range> && |
2189 | 2.82k | std::is_same_v<detail::char_t<Range>, char>) { |
2190 | 2.82k | auto buf = make_contiguous_buffer(range); |
2191 | 2.82k | auto it = find_classic_space_narrow_fast(buf.view()); |
2192 | 2.82k | return ranges::next(range.begin(), |
2193 | 2.82k | ranges::distance(buf.view().begin(), it)); |
2194 | | } |
2195 | 3.45k | else { |
2196 | 3.45k | auto it = range.begin(); |
2197 | | |
2198 | 3.45k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2199 | 912 | auto seg = get_contiguous_beginning(range); |
2200 | 912 | if (auto seg_it = find_classic_space_narrow_fast(seg); |
2201 | 912 | seg_it != seg.end()) { |
2202 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); |
2203 | 0 | } |
2204 | 912 | ranges::advance(it, seg.size()); |
2205 | 912 | } |
2206 | | |
2207 | 0 | return read_until_code_point( |
2208 | 3.45k | ranges::subrange{it, range.end()}, |
2209 | 43.6k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); });Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2209 | 14.0k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2209 | 7.87k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
_ZZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi Line | Count | Source | 2209 | 21.6k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ENKUlDiE_clEDi |
2210 | 3.45k | } |
2211 | 6.27k | } Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2186 | 912 | { | 2187 | | if constexpr (ranges::contiguous_range<Range> && | 2188 | | ranges::sized_range<Range> && | 2189 | | std::is_same_v<detail::char_t<Range>, char>) { | 2190 | | auto buf = make_contiguous_buffer(range); | 2191 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2192 | | return ranges::next(range.begin(), | 2193 | | ranges::distance(buf.view().begin(), it)); | 2194 | | } | 2195 | 912 | else { | 2196 | 912 | auto it = range.begin(); | 2197 | | | 2198 | 912 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2199 | 912 | auto seg = get_contiguous_beginning(range); | 2200 | 912 | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2201 | 912 | seg_it != seg.end()) { | 2202 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2203 | 0 | } | 2204 | 912 | ranges::advance(it, seg.size()); | 2205 | 912 | } | 2206 | | | 2207 | 0 | return read_until_code_point( | 2208 | 912 | ranges::subrange{it, range.end()}, | 2209 | 912 | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2210 | 912 | } | 2211 | 912 | } |
_ZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2186 | 2.82k | { | 2187 | | if constexpr (ranges::contiguous_range<Range> && | 2188 | | ranges::sized_range<Range> && | 2189 | 2.82k | std::is_same_v<detail::char_t<Range>, char>) { | 2190 | 2.82k | auto buf = make_contiguous_buffer(range); | 2191 | 2.82k | auto it = find_classic_space_narrow_fast(buf.view()); | 2192 | 2.82k | return ranges::next(range.begin(), | 2193 | 2.82k | ranges::distance(buf.view().begin(), it)); | 2194 | | } | 2195 | | else { | 2196 | | auto it = range.begin(); | 2197 | | | 2198 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2199 | | auto seg = get_contiguous_beginning(range); | 2200 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2201 | | seg_it != seg.end()) { | 2202 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2203 | | } | 2204 | | ranges::advance(it, seg.size()); | 2205 | | } | 2206 | | | 2207 | | return read_until_code_point( | 2208 | | ranges::subrange{it, range.end()}, | 2209 | | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2210 | | } | 2211 | 2.82k | } |
Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2186 | 330 | { | 2187 | | if constexpr (ranges::contiguous_range<Range> && | 2188 | | ranges::sized_range<Range> && | 2189 | | std::is_same_v<detail::char_t<Range>, char>) { | 2190 | | auto buf = make_contiguous_buffer(range); | 2191 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2192 | | return ranges::next(range.begin(), | 2193 | | ranges::distance(buf.view().begin(), it)); | 2194 | | } | 2195 | 330 | else { | 2196 | 330 | auto it = range.begin(); | 2197 | | | 2198 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2199 | | auto seg = get_contiguous_beginning(range); | 2200 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2201 | | seg_it != seg.end()) { | 2202 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2203 | | } | 2204 | | ranges::advance(it, seg.size()); | 2205 | | } | 2206 | | | 2207 | 330 | return read_until_code_point( | 2208 | 330 | ranges::subrange{it, range.end()}, | 2209 | 330 | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2210 | 330 | } | 2211 | 330 | } |
_ZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2186 | 2.20k | { | 2187 | | if constexpr (ranges::contiguous_range<Range> && | 2188 | | ranges::sized_range<Range> && | 2189 | | std::is_same_v<detail::char_t<Range>, char>) { | 2190 | | auto buf = make_contiguous_buffer(range); | 2191 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2192 | | return ranges::next(range.begin(), | 2193 | | ranges::distance(buf.view().begin(), it)); | 2194 | | } | 2195 | 2.20k | else { | 2196 | 2.20k | auto it = range.begin(); | 2197 | | | 2198 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2199 | | auto seg = get_contiguous_beginning(range); | 2200 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2201 | | seg_it != seg.end()) { | 2202 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2203 | | } | 2204 | | ranges::advance(it, seg.size()); | 2205 | | } | 2206 | | | 2207 | 2.20k | return read_until_code_point( | 2208 | 2.20k | ranges::subrange{it, range.end()}, | 2209 | 2.20k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2210 | 2.20k | } | 2211 | 2.20k | } |
Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ |
2212 | | |
2213 | | template <typename Range> |
2214 | | auto read_while_classic_space(Range range) -> ranges::const_iterator_t<Range> |
2215 | 34.6k | { |
2216 | | if constexpr (ranges::contiguous_range<Range> && |
2217 | | ranges::sized_range<Range> && |
2218 | 20.4k | std::is_same_v<detail::char_t<Range>, char>) { |
2219 | 20.4k | auto buf = make_contiguous_buffer(range); |
2220 | 20.4k | auto it = find_classic_nonspace_narrow_fast(buf.view()); |
2221 | 20.4k | return ranges::next(range.begin(), |
2222 | 20.4k | ranges::distance(buf.view().begin(), it)); |
2223 | | } |
2224 | 14.1k | else { |
2225 | 14.1k | auto it = range.begin(); |
2226 | | |
2227 | 14.1k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2228 | 2.83k | auto seg = get_contiguous_beginning(range); |
2229 | 2.83k | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); |
2230 | 2.83k | seg_it != seg.end()) { |
2231 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); |
2232 | 0 | } |
2233 | 2.83k | ranges::advance(it, seg.size()); |
2234 | 2.83k | } |
2235 | | |
2236 | 18.3k | return read_while_code_point(range, [](char32_t cp) noexcept { |
2237 | 18.3k | return detail::is_cp_space(cp); |
2238 | 18.3k | }); Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2236 | 1.38k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 1.38k | return detail::is_cp_space(cp); | 2238 | 1.38k | }); |
Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_while_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ENKUlDiE_clEDi Line | Count | Source | 2236 | 2.39k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 2.39k | return detail::is_cp_space(cp); | 2238 | 2.39k | }); |
_ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2236 | 342 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 342 | return detail::is_cp_space(cp); | 2238 | 342 | }); |
_ZZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi Line | Count | Source | 2236 | 9.88k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 9.88k | return detail::is_cp_space(cp); | 2238 | 9.88k | }); |
Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Line | Count | Source | 2236 | 3.45k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 3.45k | return detail::is_cp_space(cp); | 2238 | 3.45k | }); |
_ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Line | Count | Source | 2236 | 860 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 860 | return detail::is_cp_space(cp); | 2238 | 860 | }); |
|
2239 | 14.1k | } |
2240 | 34.6k | } Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2215 | 536 | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | | auto buf = make_contiguous_buffer(range); | 2220 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | | return ranges::next(range.begin(), | 2222 | | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | 536 | else { | 2225 | 536 | auto it = range.begin(); | 2226 | | | 2227 | 536 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | 536 | auto seg = get_contiguous_beginning(range); | 2229 | 536 | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | 536 | seg_it != seg.end()) { | 2231 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | 0 | } | 2233 | 536 | ranges::advance(it, seg.size()); | 2234 | 536 | } | 2235 | | | 2236 | 0 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 536 | return detail::is_cp_space(cp); | 2238 | 536 | }); | 2239 | 536 | } | 2240 | 536 | } |
_ZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2215 | 13.6k | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | 13.6k | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | 13.6k | auto buf = make_contiguous_buffer(range); | 2220 | 13.6k | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | 13.6k | return ranges::next(range.begin(), | 2222 | 13.6k | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | | else { | 2225 | | auto it = range.begin(); | 2226 | | | 2227 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | | auto seg = get_contiguous_beginning(range); | 2229 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | | seg_it != seg.end()) { | 2231 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | | } | 2233 | | ranges::advance(it, seg.size()); | 2234 | | } | 2235 | | | 2236 | | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | | return detail::is_cp_space(cp); | 2238 | | }); | 2239 | | } | 2240 | 13.6k | } |
Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ _ZN3scn2v44impl24read_while_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 2215 | 2.11k | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | | auto buf = make_contiguous_buffer(range); | 2220 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | | return ranges::next(range.begin(), | 2222 | | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | 2.11k | else { | 2225 | 2.11k | auto it = range.begin(); | 2226 | | | 2227 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | | auto seg = get_contiguous_beginning(range); | 2229 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | | seg_it != seg.end()) { | 2231 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | | } | 2233 | | ranges::advance(it, seg.size()); | 2234 | | } | 2235 | | | 2236 | 2.11k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 2.11k | return detail::is_cp_space(cp); | 2238 | 2.11k | }); | 2239 | 2.11k | } | 2240 | 2.11k | } |
_ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2215 | 264 | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | | auto buf = make_contiguous_buffer(range); | 2220 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | | return ranges::next(range.begin(), | 2222 | | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | 264 | else { | 2225 | 264 | auto it = range.begin(); | 2226 | | | 2227 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | | auto seg = get_contiguous_beginning(range); | 2229 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | | seg_it != seg.end()) { | 2231 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | | } | 2233 | | ranges::advance(it, seg.size()); | 2234 | | } | 2235 | | | 2236 | 264 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 264 | return detail::is_cp_space(cp); | 2238 | 264 | }); | 2239 | 264 | } | 2240 | 264 | } |
_ZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2215 | 8.09k | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | | auto buf = make_contiguous_buffer(range); | 2220 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | | return ranges::next(range.begin(), | 2222 | | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | 8.09k | else { | 2225 | 8.09k | auto it = range.begin(); | 2226 | | | 2227 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | | auto seg = get_contiguous_beginning(range); | 2229 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | | seg_it != seg.end()) { | 2231 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | | } | 2233 | | ranges::advance(it, seg.size()); | 2234 | | } | 2235 | | | 2236 | 8.09k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 8.09k | return detail::is_cp_space(cp); | 2238 | 8.09k | }); | 2239 | 8.09k | } | 2240 | 8.09k | } |
Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v44impl24read_while_classic_spaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 2215 | 6.82k | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | 6.82k | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | 6.82k | auto buf = make_contiguous_buffer(range); | 2220 | 6.82k | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | 6.82k | return ranges::next(range.begin(), | 2222 | 6.82k | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | | else { | 2225 | | auto it = range.begin(); | 2226 | | | 2227 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | | auto seg = get_contiguous_beginning(range); | 2229 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | | seg_it != seg.end()) { | 2231 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | | } | 2233 | | ranges::advance(it, seg.size()); | 2234 | | } | 2235 | | | 2236 | | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | | return detail::is_cp_space(cp); | 2238 | | }); | 2239 | | } | 2240 | 6.82k | } |
_ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Line | Count | Source | 2215 | 2.29k | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | | auto buf = make_contiguous_buffer(range); | 2220 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | | return ranges::next(range.begin(), | 2222 | | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | 2.29k | else { | 2225 | 2.29k | auto it = range.begin(); | 2226 | | | 2227 | 2.29k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | 2.29k | auto seg = get_contiguous_beginning(range); | 2229 | 2.29k | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | 2.29k | seg_it != seg.end()) { | 2231 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | 0 | } | 2233 | 2.29k | ranges::advance(it, seg.size()); | 2234 | 2.29k | } | 2235 | | | 2236 | 0 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 2.29k | return detail::is_cp_space(cp); | 2238 | 2.29k | }); | 2239 | 2.29k | } | 2240 | 2.29k | } |
_ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Line | Count | Source | 2215 | 860 | { | 2216 | | if constexpr (ranges::contiguous_range<Range> && | 2217 | | ranges::sized_range<Range> && | 2218 | | std::is_same_v<detail::char_t<Range>, char>) { | 2219 | | auto buf = make_contiguous_buffer(range); | 2220 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2221 | | return ranges::next(range.begin(), | 2222 | | ranges::distance(buf.view().begin(), it)); | 2223 | | } | 2224 | 860 | else { | 2225 | 860 | auto it = range.begin(); | 2226 | | | 2227 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2228 | | auto seg = get_contiguous_beginning(range); | 2229 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2230 | | seg_it != seg.end()) { | 2231 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2232 | | } | 2233 | | ranges::advance(it, seg.size()); | 2234 | | } | 2235 | | | 2236 | 860 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2237 | 860 | return detail::is_cp_space(cp); | 2238 | 860 | }); | 2239 | 860 | } | 2240 | 860 | } |
|
2241 | | |
2242 | | template <typename Range> |
2243 | | auto read_matching_code_unit(Range range, detail::char_t<Range> ch) |
2244 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2245 | 4.44k | { |
2246 | 4.44k | auto it = read_code_unit(range); |
2247 | 4.44k | if (SCN_UNLIKELY(!it)) { |
2248 | 0 | return unexpected(make_eof_parse_error(it.error())); |
2249 | 0 | } |
2250 | | |
2251 | 4.44k | if (SCN_UNLIKELY(*range.begin() != |
2252 | 4.44k | static_cast<detail::char_t<Range>>(ch))) { |
2253 | 4.44k | return unexpected(parse_error::error); |
2254 | 4.44k | } |
2255 | | |
2256 | 0 | return *it; |
2257 | 4.44k | } Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NDTcl4implISO_EEE4typeE Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NDTcl4implISG_EEE4typeE _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NDTcl4implISL_EEE4typeE Line | Count | Source | 2245 | 40 | { | 2246 | 40 | auto it = read_code_unit(range); | 2247 | 40 | if (SCN_UNLIKELY(!it)) { | 2248 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2249 | 0 | } | 2250 | | | 2251 | 40 | if (SCN_UNLIKELY(*range.begin() != | 2252 | 40 | static_cast<detail::char_t<Range>>(ch))) { | 2253 | 40 | return unexpected(parse_error::error); | 2254 | 40 | } | 2255 | | | 2256 | 0 | return *it; | 2257 | 40 | } |
_ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NDTcl4implISD_EEE4typeE Line | Count | Source | 2245 | 1.85k | { | 2246 | 1.85k | auto it = read_code_unit(range); | 2247 | 1.85k | if (SCN_UNLIKELY(!it)) { | 2248 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2249 | 0 | } | 2250 | | | 2251 | 1.85k | if (SCN_UNLIKELY(*range.begin() != | 2252 | 1.85k | static_cast<detail::char_t<Range>>(ch))) { | 2253 | 1.85k | return unexpected(parse_error::error); | 2254 | 1.85k | } | 2255 | | | 2256 | 0 | return *it; | 2257 | 1.85k | } |
Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NDTcl4implISO_EEE4typeE Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NDTcl4implISG_EEE4typeE _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NDTcl4implISL_EEE4typeE Line | Count | Source | 2245 | 44 | { | 2246 | 44 | auto it = read_code_unit(range); | 2247 | 44 | if (SCN_UNLIKELY(!it)) { | 2248 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2249 | 0 | } | 2250 | | | 2251 | 44 | if (SCN_UNLIKELY(*range.begin() != | 2252 | 44 | static_cast<detail::char_t<Range>>(ch))) { | 2253 | 44 | return unexpected(parse_error::error); | 2254 | 44 | } | 2255 | | | 2256 | 0 | return *it; | 2257 | 44 | } |
_ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NDTcl4implISD_EEE4typeE Line | Count | Source | 2245 | 1.55k | { | 2246 | 1.55k | auto it = read_code_unit(range); | 2247 | 1.55k | if (SCN_UNLIKELY(!it)) { | 2248 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2249 | 0 | } | 2250 | | | 2251 | 1.55k | if (SCN_UNLIKELY(*range.begin() != | 2252 | 1.55k | static_cast<detail::char_t<Range>>(ch))) { | 2253 | 1.55k | return unexpected(parse_error::error); | 2254 | 1.55k | } | 2255 | | | 2256 | 0 | return *it; | 2257 | 1.55k | } |
_ZN3scn2v44impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NDTcl4implISF_EEE4typeE Line | Count | Source | 2245 | 668 | { | 2246 | 668 | auto it = read_code_unit(range); | 2247 | 668 | if (SCN_UNLIKELY(!it)) { | 2248 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2249 | 0 | } | 2250 | | | 2251 | 668 | if (SCN_UNLIKELY(*range.begin() != | 2252 | 668 | static_cast<detail::char_t<Range>>(ch))) { | 2253 | 668 | return unexpected(parse_error::error); | 2254 | 668 | } | 2255 | | | 2256 | 0 | return *it; | 2257 | 668 | } |
Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NDTcl4implISI_EEE4typeE _ZN3scn2v44impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NDTcl4implISF_EEE4typeE Line | Count | Source | 2245 | 288 | { | 2246 | 288 | auto it = read_code_unit(range); | 2247 | 288 | if (SCN_UNLIKELY(!it)) { | 2248 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2249 | 0 | } | 2250 | | | 2251 | 288 | if (SCN_UNLIKELY(*range.begin() != | 2252 | 288 | static_cast<detail::char_t<Range>>(ch))) { | 2253 | 288 | return unexpected(parse_error::error); | 2254 | 288 | } | 2255 | | | 2256 | 0 | return *it; | 2257 | 288 | } |
Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NDTcl4implISI_EEE4typeE |
2258 | | |
2259 | | template <typename Range> |
2260 | | auto read_matching_code_point(Range range, char32_t cp) |
2261 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2262 | | { |
2263 | | auto val = read_code_point_into(range); |
2264 | | if (!val.is_valid()) { |
2265 | | return unexpected(parse_error::error); |
2266 | | } |
2267 | | auto decoded_cp = decode_code_point_exhaustive(val.codepoint); |
2268 | | if (SCN_UNLIKELY(cp != decoded_cp)) { |
2269 | | return unexpected(parse_error::error); |
2270 | | } |
2271 | | return val.iterator; |
2272 | | } |
2273 | | |
2274 | | template <typename Range> |
2275 | | auto read_matching_string(Range range, |
2276 | | std::basic_string_view<detail::char_t<Range>> str) |
2277 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2278 | 72 | { |
2279 | 72 | SCN_TRY(it, read_exactly_n_code_units( |
2280 | 44 | range, static_cast<std::ptrdiff_t>(str.size())) |
2281 | 44 | .transform_error(make_eof_parse_error)); |
2282 | | |
2283 | 44 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); |
2284 | 44 | if (SCN_UNLIKELY(sv.view() != str)) { |
2285 | 44 | return unexpected(parse_error::error); |
2286 | 44 | } |
2287 | 0 | return it; |
2288 | 44 | } _ZN3scn2v44impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewINDTcl4implISF_EEE4typeENSD_11char_traitsISN_EEEE Line | Count | Source | 2278 | 20 | { | 2279 | 20 | SCN_TRY(it, read_exactly_n_code_units( | 2280 | 10 | range, static_cast<std::ptrdiff_t>(str.size())) | 2281 | 10 | .transform_error(make_eof_parse_error)); | 2282 | | | 2283 | 10 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2284 | 10 | if (SCN_UNLIKELY(sv.view() != str)) { | 2285 | 10 | return unexpected(parse_error::error); | 2286 | 10 | } | 2287 | 0 | return it; | 2288 | 10 | } |
_ZN3scn2v44impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewINDTcl4implISD_EEE4typeENSB_11char_traitsISL_EEEE Line | Count | Source | 2278 | 20 | { | 2279 | 20 | SCN_TRY(it, read_exactly_n_code_units( | 2280 | 18 | range, static_cast<std::ptrdiff_t>(str.size())) | 2281 | 18 | .transform_error(make_eof_parse_error)); | 2282 | | | 2283 | 18 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2284 | 18 | if (SCN_UNLIKELY(sv.view() != str)) { | 2285 | 18 | return unexpected(parse_error::error); | 2286 | 18 | } | 2287 | 0 | return it; | 2288 | 18 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewINDTcl4implISI_EEE4typeENSG_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewINDTcl4implISG_EEE4typeENSE_11char_traitsISO_EEEE _ZN3scn2v44impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewINDTcl4implISF_EEE4typeENSD_11char_traitsISN_EEEE Line | Count | Source | 2278 | 20 | { | 2279 | 20 | SCN_TRY(it, read_exactly_n_code_units( | 2280 | 6 | range, static_cast<std::ptrdiff_t>(str.size())) | 2281 | 6 | .transform_error(make_eof_parse_error)); | 2282 | | | 2283 | 6 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2284 | 6 | if (SCN_UNLIKELY(sv.view() != str)) { | 2285 | 6 | return unexpected(parse_error::error); | 2286 | 6 | } | 2287 | 0 | return it; | 2288 | 6 | } |
_ZN3scn2v44impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewINDTcl4implISD_EEE4typeENSB_11char_traitsISL_EEEE Line | Count | Source | 2278 | 12 | { | 2279 | 12 | SCN_TRY(it, read_exactly_n_code_units( | 2280 | 10 | range, static_cast<std::ptrdiff_t>(str.size())) | 2281 | 10 | .transform_error(make_eof_parse_error)); | 2282 | | | 2283 | 10 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2284 | 10 | if (SCN_UNLIKELY(sv.view() != str)) { | 2285 | 10 | return unexpected(parse_error::error); | 2286 | 10 | } | 2287 | 0 | return it; | 2288 | 10 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewINDTcl4implISI_EEE4typeENSG_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewINDTcl4implISG_EEE4typeENSE_11char_traitsISO_EEEE |
2289 | | |
2290 | | template <typename Range> |
2291 | | auto read_matching_string_classic(Range range, std::string_view str) |
2292 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2293 | 4.56k | { |
2294 | 4.56k | SCN_TRY(it, read_exactly_n_code_units( |
2295 | 4.14k | range, static_cast<std::ptrdiff_t>(str.size())) |
2296 | 4.14k | .transform_error(make_eof_parse_error)); |
2297 | | |
2298 | 4.14k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2299 | 2.51k | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); |
2300 | 2.51k | if (SCN_UNLIKELY(sv.view() != str)) { |
2301 | 2.51k | return unexpected(parse_error::error); |
2302 | 2.51k | } |
2303 | 0 | return it; |
2304 | | } |
2305 | 1.62k | else { |
2306 | 1.62k | auto range_it = range.begin(); |
2307 | 1.62k | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { |
2308 | 1.62k | if (SCN_UNLIKELY(*range_it != |
2309 | 1.62k | static_cast<detail::char_t<Range>>(str[i]))) { |
2310 | 1.62k | return unexpected(parse_error::error); |
2311 | 1.62k | } |
2312 | 1.62k | } |
2313 | 0 | return it; |
2314 | 1.62k | } |
2315 | 4.14k | } _ZN3scn2v44impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2293 | 1.99k | { | 2294 | 1.99k | SCN_TRY(it, read_exactly_n_code_units( | 2295 | 1.89k | range, static_cast<std::ptrdiff_t>(str.size())) | 2296 | 1.89k | .transform_error(make_eof_parse_error)); | 2297 | | | 2298 | 1.89k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2299 | 1.89k | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2300 | 1.89k | if (SCN_UNLIKELY(sv.view() != str)) { | 2301 | 1.89k | return unexpected(parse_error::error); | 2302 | 1.89k | } | 2303 | 0 | return it; | 2304 | | } | 2305 | | else { | 2306 | | auto range_it = range.begin(); | 2307 | | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2308 | | if (SCN_UNLIKELY(*range_it != | 2309 | | static_cast<detail::char_t<Range>>(str[i]))) { | 2310 | | return unexpected(parse_error::error); | 2311 | | } | 2312 | | } | 2313 | | return it; | 2314 | | } | 2315 | 1.89k | } |
Unexecuted instantiation: _ZN3scn2v44impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2293 | 772 | { | 2294 | 772 | SCN_TRY(it, read_exactly_n_code_units( | 2295 | 622 | range, static_cast<std::ptrdiff_t>(str.size())) | 2296 | 622 | .transform_error(make_eof_parse_error)); | 2297 | | | 2298 | 622 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2299 | 622 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2300 | 622 | if (SCN_UNLIKELY(sv.view() != str)) { | 2301 | 622 | return unexpected(parse_error::error); | 2302 | 622 | } | 2303 | 0 | return it; | 2304 | | } | 2305 | | else { | 2306 | | auto range_it = range.begin(); | 2307 | | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2308 | | if (SCN_UNLIKELY(*range_it != | 2309 | | static_cast<detail::char_t<Range>>(str[i]))) { | 2310 | | return unexpected(parse_error::error); | 2311 | | } | 2312 | | } | 2313 | | return it; | 2314 | | } | 2315 | 622 | } |
Unexecuted instantiation: _ZN3scn2v44impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE _ZN3scn2v44impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2293 | 1.54k | { | 2294 | 1.54k | SCN_TRY(it, read_exactly_n_code_units( | 2295 | 1.42k | range, static_cast<std::ptrdiff_t>(str.size())) | 2296 | 1.42k | .transform_error(make_eof_parse_error)); | 2297 | | | 2298 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2299 | | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2300 | | if (SCN_UNLIKELY(sv.view() != str)) { | 2301 | | return unexpected(parse_error::error); | 2302 | | } | 2303 | | return it; | 2304 | | } | 2305 | 1.42k | else { | 2306 | 1.42k | auto range_it = range.begin(); | 2307 | 1.42k | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2308 | 1.42k | if (SCN_UNLIKELY(*range_it != | 2309 | 1.42k | static_cast<detail::char_t<Range>>(str[i]))) { | 2310 | 1.42k | return unexpected(parse_error::error); | 2311 | 1.42k | } | 2312 | 1.42k | } | 2313 | 0 | return it; | 2314 | 1.42k | } | 2315 | 1.42k | } |
_ZN3scn2v44impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2293 | 256 | { | 2294 | 256 | SCN_TRY(it, read_exactly_n_code_units( | 2295 | 204 | range, static_cast<std::ptrdiff_t>(str.size())) | 2296 | 204 | .transform_error(make_eof_parse_error)); | 2297 | | | 2298 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2299 | | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2300 | | if (SCN_UNLIKELY(sv.view() != str)) { | 2301 | | return unexpected(parse_error::error); | 2302 | | } | 2303 | | return it; | 2304 | | } | 2305 | 204 | else { | 2306 | 204 | auto range_it = range.begin(); | 2307 | 204 | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2308 | 204 | if (SCN_UNLIKELY(*range_it != | 2309 | 204 | static_cast<detail::char_t<Range>>(str[i]))) { | 2310 | 204 | return unexpected(parse_error::error); | 2311 | 204 | } | 2312 | 204 | } | 2313 | 0 | return it; | 2314 | 204 | } | 2315 | 204 | } |
Unexecuted instantiation: _ZN3scn2v44impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE |
2316 | | |
2317 | | // Ripped from fast_float |
2318 | | constexpr bool fast_streq_nocase(const char* a, const char* b, size_t len) |
2319 | 3.65k | { |
2320 | 3.65k | unsigned char running_diff{0}; |
2321 | 12.7k | for (size_t i = 0; i < len; ++i) { |
2322 | 9.10k | running_diff |= static_cast<unsigned char>(a[i] ^ b[i]); |
2323 | 9.10k | } |
2324 | 3.65k | return running_diff == 0 || running_diff == 32; |
2325 | 3.65k | } |
2326 | | |
2327 | | template <typename Range> |
2328 | | auto read_matching_string_classic_nocase(Range range, std::string_view str) |
2329 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2330 | 8.70k | { |
2331 | 8.70k | using char_type = detail::char_t<Range>; |
2332 | | |
2333 | | if constexpr (ranges::contiguous_range<Range> && |
2334 | 3.65k | std::is_same_v<char_type, char>) { |
2335 | 3.65k | if (range.size() < str.size()) { |
2336 | 8 | return unexpected(make_eof_parse_error(eof_error::eof)); |
2337 | 8 | } |
2338 | 3.65k | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { |
2339 | 3.65k | return unexpected(parse_error::error); |
2340 | 3.65k | } |
2341 | 0 | return ranges::next(range.begin(), str.size()); |
2342 | | } |
2343 | 5.04k | else { |
2344 | 5.04k | auto ascii_tolower = [](char_type ch) -> char_type { |
2345 | 4.71k | if (ch < 'A' || ch > 'Z') { |
2346 | 4.71k | return ch; |
2347 | 4.71k | } |
2348 | 0 | return static_cast<char_type>(ch + |
2349 | 0 | static_cast<char_type>('a' - 'A')); |
2350 | 4.71k | }; Unexecuted instantiation: _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEEENKUlcE_clEc _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEENKUlcE_clEc Line | Count | Source | 2344 | 1.17k | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | 1.17k | if (ch < 'A' || ch > 'Z') { | 2346 | 1.17k | return ch; | 2347 | 1.17k | } | 2348 | 0 | return static_cast<char_type>(ch + | 2349 | 0 | static_cast<char_type>('a' - 'A')); | 2350 | 1.17k | }; |
Unexecuted instantiation: _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEEENKUlwE_clEw _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEENKUlwE_clEw Line | Count | Source | 2344 | 494 | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | 494 | if (ch < 'A' || ch > 'Z') { | 2346 | 494 | return ch; | 2347 | 494 | } | 2348 | 0 | return static_cast<char_type>(ch + | 2349 | 0 | static_cast<char_type>('a' - 'A')); | 2350 | 494 | }; |
_ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEEENKUlwE_clEw Line | Count | Source | 2344 | 3.04k | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | 3.04k | if (ch < 'A' || ch > 'Z') { | 2346 | 3.04k | return ch; | 2347 | 3.04k | } | 2348 | 0 | return static_cast<char_type>(ch + | 2349 | 0 | static_cast<char_type>('a' - 'A')); | 2350 | 3.04k | }; |
|
2351 | | |
2352 | 5.04k | SCN_TRY(it, read_exactly_n_code_units( |
2353 | 4.71k | range, static_cast<std::ptrdiff_t>(str.size())) |
2354 | 4.71k | .transform_error(make_eof_parse_error)); |
2355 | | |
2356 | 4.71k | if (SCN_UNLIKELY(!std::equal( |
2357 | 4.71k | range.begin(), it, str.begin(), [&](auto a, auto b) { |
2358 | 4.71k | return ascii_tolower(a) == |
2359 | 4.71k | static_cast<detail::char_t<Range>>(b); |
2360 | 4.71k | }))) { |
2361 | 4.71k | return unexpected(parse_error::error); |
2362 | 4.71k | } |
2363 | | |
2364 | 0 | return it; |
2365 | 4.71k | } |
2366 | 8.70k | } Unexecuted instantiation: _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Line | Count | Source | 2330 | 1.41k | { | 2331 | 1.41k | using char_type = detail::char_t<Range>; | 2332 | | | 2333 | | if constexpr (ranges::contiguous_range<Range> && | 2334 | | std::is_same_v<char_type, char>) { | 2335 | | if (range.size() < str.size()) { | 2336 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2337 | | } | 2338 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2339 | | return unexpected(parse_error::error); | 2340 | | } | 2341 | | return ranges::next(range.begin(), str.size()); | 2342 | | } | 2343 | 1.41k | else { | 2344 | 1.41k | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | 1.41k | if (ch < 'A' || ch > 'Z') { | 2346 | 1.41k | return ch; | 2347 | 1.41k | } | 2348 | 1.41k | return static_cast<char_type>(ch + | 2349 | 1.41k | static_cast<char_type>('a' - 'A')); | 2350 | 1.41k | }; | 2351 | | | 2352 | 1.41k | SCN_TRY(it, read_exactly_n_code_units( | 2353 | 1.17k | range, static_cast<std::ptrdiff_t>(str.size())) | 2354 | 1.17k | .transform_error(make_eof_parse_error)); | 2355 | | | 2356 | 1.17k | if (SCN_UNLIKELY(!std::equal( | 2357 | 1.17k | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2358 | 1.17k | return ascii_tolower(a) == | 2359 | 1.17k | static_cast<detail::char_t<Range>>(b); | 2360 | 1.17k | }))) { | 2361 | 1.17k | return unexpected(parse_error::error); | 2362 | 1.17k | } | 2363 | | | 2364 | 0 | return it; | 2365 | 1.17k | } | 2366 | 1.41k | } |
_ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2330 | 3.65k | { | 2331 | 3.65k | using char_type = detail::char_t<Range>; | 2332 | | | 2333 | | if constexpr (ranges::contiguous_range<Range> && | 2334 | 3.65k | std::is_same_v<char_type, char>) { | 2335 | 3.65k | if (range.size() < str.size()) { | 2336 | 8 | return unexpected(make_eof_parse_error(eof_error::eof)); | 2337 | 8 | } | 2338 | 3.65k | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2339 | 3.65k | return unexpected(parse_error::error); | 2340 | 3.65k | } | 2341 | 0 | return ranges::next(range.begin(), str.size()); | 2342 | | } | 2343 | | else { | 2344 | | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | | if (ch < 'A' || ch > 'Z') { | 2346 | | return ch; | 2347 | | } | 2348 | | return static_cast<char_type>(ch + | 2349 | | static_cast<char_type>('a' - 'A')); | 2350 | | }; | 2351 | | | 2352 | | SCN_TRY(it, read_exactly_n_code_units( | 2353 | | range, static_cast<std::ptrdiff_t>(str.size())) | 2354 | | .transform_error(make_eof_parse_error)); | 2355 | | | 2356 | | if (SCN_UNLIKELY(!std::equal( | 2357 | | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2358 | | return ascii_tolower(a) == | 2359 | | static_cast<detail::char_t<Range>>(b); | 2360 | | }))) { | 2361 | | return unexpected(parse_error::error); | 2362 | | } | 2363 | | | 2364 | | return it; | 2365 | | } | 2366 | 3.65k | } |
Unexecuted instantiation: _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Line | Count | Source | 2330 | 590 | { | 2331 | 590 | using char_type = detail::char_t<Range>; | 2332 | | | 2333 | | if constexpr (ranges::contiguous_range<Range> && | 2334 | | std::is_same_v<char_type, char>) { | 2335 | | if (range.size() < str.size()) { | 2336 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2337 | | } | 2338 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2339 | | return unexpected(parse_error::error); | 2340 | | } | 2341 | | return ranges::next(range.begin(), str.size()); | 2342 | | } | 2343 | 590 | else { | 2344 | 590 | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | 590 | if (ch < 'A' || ch > 'Z') { | 2346 | 590 | return ch; | 2347 | 590 | } | 2348 | 590 | return static_cast<char_type>(ch + | 2349 | 590 | static_cast<char_type>('a' - 'A')); | 2350 | 590 | }; | 2351 | | | 2352 | 590 | SCN_TRY(it, read_exactly_n_code_units( | 2353 | 494 | range, static_cast<std::ptrdiff_t>(str.size())) | 2354 | 494 | .transform_error(make_eof_parse_error)); | 2355 | | | 2356 | 494 | if (SCN_UNLIKELY(!std::equal( | 2357 | 494 | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2358 | 494 | return ascii_tolower(a) == | 2359 | 494 | static_cast<detail::char_t<Range>>(b); | 2360 | 494 | }))) { | 2361 | 494 | return unexpected(parse_error::error); | 2362 | 494 | } | 2363 | | | 2364 | 0 | return it; | 2365 | 494 | } | 2366 | 590 | } |
_ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2330 | 3.04k | { | 2331 | 3.04k | using char_type = detail::char_t<Range>; | 2332 | | | 2333 | | if constexpr (ranges::contiguous_range<Range> && | 2334 | | std::is_same_v<char_type, char>) { | 2335 | | if (range.size() < str.size()) { | 2336 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2337 | | } | 2338 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2339 | | return unexpected(parse_error::error); | 2340 | | } | 2341 | | return ranges::next(range.begin(), str.size()); | 2342 | | } | 2343 | 3.04k | else { | 2344 | 3.04k | auto ascii_tolower = [](char_type ch) -> char_type { | 2345 | 3.04k | if (ch < 'A' || ch > 'Z') { | 2346 | 3.04k | return ch; | 2347 | 3.04k | } | 2348 | 3.04k | return static_cast<char_type>(ch + | 2349 | 3.04k | static_cast<char_type>('a' - 'A')); | 2350 | 3.04k | }; | 2351 | | | 2352 | 3.04k | SCN_TRY(it, read_exactly_n_code_units( | 2353 | 3.04k | range, static_cast<std::ptrdiff_t>(str.size())) | 2354 | 3.04k | .transform_error(make_eof_parse_error)); | 2355 | | | 2356 | 3.04k | if (SCN_UNLIKELY(!std::equal( | 2357 | 3.04k | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2358 | 3.04k | return ascii_tolower(a) == | 2359 | 3.04k | static_cast<detail::char_t<Range>>(b); | 2360 | 3.04k | }))) { | 2361 | 3.04k | return unexpected(parse_error::error); | 2362 | 3.04k | } | 2363 | | | 2364 | 0 | return it; | 2365 | 3.04k | } | 2366 | 3.04k | } |
|
2367 | | |
2368 | | template <typename Range> |
2369 | | auto read_one_of_code_unit(Range range, std::string_view str) |
2370 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2371 | 8.50k | { |
2372 | 8.50k | auto it = read_code_unit(range); |
2373 | 8.50k | if (SCN_UNLIKELY(!it)) { |
2374 | 0 | return unexpected(make_eof_parse_error(it.error())); |
2375 | 0 | } |
2376 | | |
2377 | 17.0k | for (auto ch : str) { |
2378 | 17.0k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { |
2379 | 0 | return *it; |
2380 | 0 | } |
2381 | 17.0k | } |
2382 | | |
2383 | 8.50k | return unexpected(parse_error::error); |
2384 | 8.50k | } Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2371 | 1.33k | { | 2372 | 1.33k | auto it = read_code_unit(range); | 2373 | 1.33k | if (SCN_UNLIKELY(!it)) { | 2374 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2375 | 0 | } | 2376 | | | 2377 | 2.67k | for (auto ch : str) { | 2378 | 2.67k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2379 | 0 | return *it; | 2380 | 0 | } | 2381 | 2.67k | } | 2382 | | | 2383 | 1.33k | return unexpected(parse_error::error); | 2384 | 1.33k | } |
_ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2371 | 3.61k | { | 2372 | 3.61k | auto it = read_code_unit(range); | 2373 | 3.61k | if (SCN_UNLIKELY(!it)) { | 2374 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2375 | 0 | } | 2376 | | | 2377 | 7.22k | for (auto ch : str) { | 2378 | 7.22k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2379 | 0 | return *it; | 2380 | 0 | } | 2381 | 7.22k | } | 2382 | | | 2383 | 3.61k | return unexpected(parse_error::error); | 2384 | 3.61k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2371 | 546 | { | 2372 | 546 | auto it = read_code_unit(range); | 2373 | 546 | if (SCN_UNLIKELY(!it)) { | 2374 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2375 | 0 | } | 2376 | | | 2377 | 1.09k | for (auto ch : str) { | 2378 | 1.09k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2379 | 0 | return *it; | 2380 | 0 | } | 2381 | 1.09k | } | 2382 | | | 2383 | 546 | return unexpected(parse_error::error); | 2384 | 546 | } |
_ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2371 | 3.01k | { | 2372 | 3.01k | auto it = read_code_unit(range); | 2373 | 3.01k | if (SCN_UNLIKELY(!it)) { | 2374 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2375 | 0 | } | 2376 | | | 2377 | 6.02k | for (auto ch : str) { | 2378 | 6.02k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2379 | 0 | return *it; | 2380 | 0 | } | 2381 | 6.02k | } | 2382 | | | 2383 | 3.01k | return unexpected(parse_error::error); | 2384 | 3.01k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE |
2385 | | |
2386 | | template <typename Range, template <class> class Expected, typename Iterator> |
2387 | | auto apply_opt(Expected<Iterator>&& result, Range range) |
2388 | | -> std::enable_if_t<detail::is_expected<Expected<Iterator>>::value, |
2389 | | ranges::const_iterator_t<Range>> |
2390 | 2.18k | { |
2391 | 2.18k | if (!result) { |
2392 | 2.18k | return range.begin(); |
2393 | 2.18k | } |
2394 | 0 | return *result; |
2395 | 2.18k | } Unexecuted instantiation: _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENS1_14parse_expectedESE_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEEE4typeEOSQ_SS_ Unexecuted instantiation: _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_14parse_expectedESA_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEE4typeEOSI_SK_ _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENS1_14parse_expectedESB_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEEE4typeEOSN_SP_ Line | Count | Source | 2390 | 350 | { | 2391 | 350 | if (!result) { | 2392 | 350 | return range.begin(); | 2393 | 350 | } | 2394 | 0 | return *result; | 2395 | 350 | } |
_ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENS1_14parse_expectedES8_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEEE4typeEOSF_SH_ Line | Count | Source | 2390 | 920 | { | 2391 | 920 | if (!result) { | 2392 | 920 | return range.begin(); | 2393 | 920 | } | 2394 | 0 | return *result; | 2395 | 920 | } |
Unexecuted instantiation: _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENS1_14parse_expectedESE_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEEE4typeEOSQ_SS_ Unexecuted instantiation: _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_14parse_expectedESA_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEE4typeEOSI_SK_ _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENS1_14parse_expectedESB_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEEE4typeEOSN_SP_ Line | Count | Source | 2390 | 148 | { | 2391 | 148 | if (!result) { | 2392 | 148 | return range.begin(); | 2393 | 148 | } | 2394 | 0 | return *result; | 2395 | 148 | } |
_ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENS1_14parse_expectedES8_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEEE4typeEOSF_SH_ Line | Count | Source | 2390 | 764 | { | 2391 | 764 | if (!result) { | 2392 | 764 | return range.begin(); | 2393 | 764 | } | 2394 | 0 | return *result; | 2395 | 764 | } |
|
2396 | | |
2397 | | ///////////////////////////////////////////////////////////////// |
2398 | | // Text width calculation |
2399 | | ///////////////////////////////////////////////////////////////// |
2400 | | |
2401 | | constexpr std::size_t calculate_text_width_for_fmt_v10(char32_t cp) |
2402 | 138k | { |
2403 | 138k | if (cp >= 0x1100 && |
2404 | 138k | (cp <= 0x115f || // Hangul Jamo init. consonants |
2405 | 27.9k | cp == 0x2329 || // LEFT-POINTING ANGLE BRACKET |
2406 | 27.9k | cp == 0x232a || // RIGHT-POINTING ANGLE BRACKET |
2407 | | // CJK ... Yi except IDEOGRAPHIC HALF FILL SPACE: |
2408 | 27.9k | (cp >= 0x2e80 && cp <= 0xa4cf && cp != 0x303f) || |
2409 | 27.9k | (cp >= 0xac00 && cp <= 0xd7a3) || // Hangul Syllables |
2410 | 27.9k | (cp >= 0xf900 && cp <= 0xfaff) || // CJK Compatibility Ideographs |
2411 | 27.9k | (cp >= 0xfe10 && cp <= 0xfe19) || // Vertical Forms |
2412 | 27.9k | (cp >= 0xfe30 && cp <= 0xfe6f) || // CJK Compatibility Forms |
2413 | 27.9k | (cp >= 0xff00 && cp <= 0xff60) || // Fullwidth Forms |
2414 | 27.9k | (cp >= 0xffe0 && cp <= 0xffe6) || // Fullwidth Forms |
2415 | 27.9k | (cp >= 0x20000 && cp <= 0x2fffd) || // CJK |
2416 | 27.9k | (cp >= 0x30000 && cp <= 0x3fffd) || |
2417 | | // Miscellaneous Symbols and Pictographs + Emoticons: |
2418 | 27.9k | (cp >= 0x1f300 && cp <= 0x1f64f) || |
2419 | | // Supplemental Symbols and Pictographs: |
2420 | 27.9k | (cp >= 0x1f900 && cp <= 0x1f9ff))) { |
2421 | 2.63k | return 2; |
2422 | 2.63k | } |
2423 | 135k | return 1; |
2424 | 138k | } |
2425 | | |
2426 | | constexpr std::size_t calculate_valid_text_width(char32_t cp) |
2427 | 88.9k | { |
2428 | 88.9k | return calculate_text_width_for_fmt_v10(cp); |
2429 | 88.9k | } |
2430 | | |
2431 | | template <typename CharT> |
2432 | | std::size_t calculate_valid_text_width(std::basic_string_view<CharT> input) |
2433 | | { |
2434 | | size_t count{0}; |
2435 | | for_each_code_point_valid(input, [&count](char32_t cp) { |
2436 | | count += calculate_text_width_for_fmt_v10(cp); |
2437 | | }); |
2438 | | return count; |
2439 | | } |
2440 | | |
2441 | | constexpr std::size_t calculate_text_width(char32_t cp) |
2442 | 190 | { |
2443 | 190 | return calculate_text_width_for_fmt_v10(cp); |
2444 | 190 | } |
2445 | | |
2446 | | template <typename CharT> |
2447 | | std::size_t calculate_text_width(std::basic_string_view<CharT> input) |
2448 | 34.2k | { |
2449 | 34.2k | size_t count{0}; |
2450 | 49.2k | for_each_code_point(input, [&count](char32_t cp) { |
2451 | 49.2k | count += calculate_text_width_for_fmt_v10(cp); |
2452 | 49.2k | }); scn::v4::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >)::{lambda(char32_t)#1}::operator()(char32_t) constLine | Count | Source | 2450 | 42.4k | for_each_code_point(input, [&count](char32_t cp) { | 2451 | 42.4k | count += calculate_text_width_for_fmt_v10(cp); | 2452 | 42.4k | }); |
scn::v4::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >)::{lambda(char32_t)#1}::operator()(char32_t) constLine | Count | Source | 2450 | 6.80k | for_each_code_point(input, [&count](char32_t cp) { | 2451 | 6.80k | count += calculate_text_width_for_fmt_v10(cp); | 2452 | 6.80k | }); |
|
2453 | 34.2k | return count; |
2454 | 34.2k | } unsigned long scn::v4::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 2448 | 31.2k | { | 2449 | 31.2k | size_t count{0}; | 2450 | 31.2k | for_each_code_point(input, [&count](char32_t cp) { | 2451 | 31.2k | count += calculate_text_width_for_fmt_v10(cp); | 2452 | 31.2k | }); | 2453 | 31.2k | return count; | 2454 | 31.2k | } |
unsigned long scn::v4::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 2448 | 3.00k | { | 2449 | 3.00k | size_t count{0}; | 2450 | 3.00k | for_each_code_point(input, [&count](char32_t cp) { | 2451 | 3.00k | count += calculate_text_width_for_fmt_v10(cp); | 2452 | 3.00k | }); | 2453 | 3.00k | return count; | 2454 | 3.00k | } |
|
2455 | | |
2456 | | namespace counted_width_iterator_impl { |
2457 | | template <typename It, typename S> |
2458 | | class counted_width_iterator { |
2459 | | static_assert(ranges::forward_iterator<It>); |
2460 | | static_assert(ranges::sentinel_for<S, It>); |
2461 | | |
2462 | | template <typename OtherIt, typename OtherS> |
2463 | | friend class counted_width_iterator; |
2464 | | |
2465 | | public: |
2466 | | using iterator = It; |
2467 | | using sentinel = S; |
2468 | | using value_type = ranges::iter_value_t<It>; |
2469 | | using pointer = value_type*; |
2470 | | using reference = value_type&; |
2471 | | using difference_type = ranges::iter_difference_t<It>; |
2472 | | using iterator_category = |
2473 | | std::conditional_t<ranges::bidirectional_iterator<It>, |
2474 | | std::bidirectional_iterator_tag, |
2475 | | std::forward_iterator_tag>; |
2476 | | |
2477 | | constexpr counted_width_iterator() = default; |
2478 | | |
2479 | | constexpr counted_width_iterator(iterator x, sentinel s, difference_type n) |
2480 | 41.2k | : m_current(x), m_end(s), m_count(n) |
2481 | 41.2k | { |
2482 | 41.2k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::counted_width_iterator(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::counted_width_iterator(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, long) scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, long) Line | Count | Source | 2480 | 5.50k | : m_current(x), m_end(s), m_count(n) | 2481 | 5.50k | { | 2482 | 5.50k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, long) Line | Count | Source | 2480 | 1.94k | : m_current(x), m_end(s), m_count(n) | 2481 | 1.94k | { | 2482 | 1.94k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::counted_width_iterator(char const*, char const*, long) Line | Count | Source | 2480 | 24.5k | : m_current(x), m_end(s), m_count(n) | 2481 | 24.5k | { | 2482 | 24.5k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::counted_width_iterator(wchar_t const*, wchar_t const*, long) Line | Count | Source | 2480 | 9.29k | : m_current(x), m_end(s), m_count(n) | 2481 | 9.29k | { | 2482 | 9.29k | } |
|
2483 | | |
2484 | | template <typename OtherIt, |
2485 | | typename OtherS, |
2486 | | std::enable_if_t<std::is_convertible_v<OtherIt, It> && |
2487 | | std::is_convertible_v<OtherS, S>>* = nullptr> |
2488 | | constexpr counted_width_iterator( |
2489 | | const counted_width_iterator<OtherIt, OtherS>& other) |
2490 | | : m_current(other.m_current), |
2491 | | m_end(other.m_end), |
2492 | | m_count(other.m_count), |
2493 | | m_multibyte_left(other.m_multibyte_left) |
2494 | | { |
2495 | | } |
2496 | | |
2497 | | template <typename OtherIt, typename OtherS> |
2498 | | constexpr auto operator=( |
2499 | | const counted_width_iterator<OtherIt, OtherS>& other) |
2500 | | -> std::enable_if_t<std::is_convertible_v<OtherIt, It> && |
2501 | | std::is_convertible_v<OtherS, S>, |
2502 | | counted_width_iterator&> |
2503 | | { |
2504 | | m_current = other.m_current; |
2505 | | m_end = other.m_end; |
2506 | | m_count = other.m_count; |
2507 | | m_multibyte_left = other.m_multibyte_left; |
2508 | | return *this; |
2509 | | } |
2510 | | |
2511 | | constexpr It base() const |
2512 | 210k | { |
2513 | 210k | return m_current; |
2514 | 210k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::base() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::base() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::base() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::base() const Line | Count | Source | 2512 | 152k | { | 2513 | 152k | return m_current; | 2514 | 152k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::base() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::base() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::base() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::base() const Line | Count | Source | 2512 | 37.8k | { | 2513 | 37.8k | return m_current; | 2514 | 37.8k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::base() const Line | Count | Source | 2512 | 16.7k | { | 2513 | 16.7k | return m_current; | 2514 | 16.7k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::base() const Line | Count | Source | 2512 | 3.94k | { | 2513 | 3.94k | return m_current; | 2514 | 3.94k | } |
|
2515 | | constexpr difference_type count() const |
2516 | 409k | { |
2517 | 409k | return m_count; |
2518 | 409k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::count() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::count() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::count() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::count() const Line | Count | Source | 2516 | 297k | { | 2517 | 297k | return m_count; | 2518 | 297k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::count() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::count() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::count() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::count() const Line | Count | Source | 2516 | 72.6k | { | 2517 | 72.6k | return m_count; | 2518 | 72.6k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::count() const Line | Count | Source | 2516 | 32.2k | { | 2517 | 32.2k | return m_count; | 2518 | 32.2k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::count() const Line | Count | Source | 2516 | 7.07k | { | 2517 | 7.07k | return m_count; | 2518 | 7.07k | } |
|
2519 | | constexpr difference_type multibyte_left() const |
2520 | 38.0k | { |
2521 | 38.0k | return m_multibyte_left; |
2522 | 38.0k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::multibyte_left() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::multibyte_left() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::multibyte_left() const Line | Count | Source | 2520 | 32.6k | { | 2521 | 32.6k | return m_multibyte_left; | 2522 | 32.6k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::multibyte_left() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::multibyte_left() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::multibyte_left() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::multibyte_left() const Line | Count | Source | 2520 | 2.31k | { | 2521 | 2.31k | return m_multibyte_left; | 2522 | 2.31k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::multibyte_left() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::multibyte_left() const Line | Count | Source | 2520 | 2.78k | { | 2521 | 2.78k | return m_multibyte_left; | 2522 | 2.78k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::multibyte_left() const Line | Count | Source | 2520 | 282 | { | 2521 | 282 | return m_multibyte_left; | 2522 | 282 | } |
|
2523 | | |
2524 | | bool is_current_double_wide() const |
2525 | 10.9k | { |
2526 | 10.9k | assert(count() != 0 || multibyte_left() != 0); |
2527 | 10.9k | return _get_width_at_current_cp_start( |
2528 | 10.9k | _get_cp_length_at_current()) == 2; |
2529 | 10.9k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::is_current_double_wide() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::is_current_double_wide() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::is_current_double_wide() const Line | Count | Source | 2525 | 7.58k | { | 2526 | 7.58k | assert(count() != 0 || multibyte_left() != 0); | 2527 | 7.58k | return _get_width_at_current_cp_start( | 2528 | 7.58k | _get_cp_length_at_current()) == 2; | 2529 | 7.58k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::is_current_double_wide() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::is_current_double_wide() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::is_current_double_wide() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::is_current_double_wide() const Line | Count | Source | 2525 | 1.80k | { | 2526 | 1.80k | assert(count() != 0 || multibyte_left() != 0); | 2527 | 1.80k | return _get_width_at_current_cp_start( | 2528 | 1.80k | _get_cp_length_at_current()) == 2; | 2529 | 1.80k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::is_current_double_wide() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::is_current_double_wide() const Line | Count | Source | 2525 | 1.29k | { | 2526 | 1.29k | assert(count() != 0 || multibyte_left() != 0); | 2527 | 1.29k | return _get_width_at_current_cp_start( | 2528 | 1.29k | _get_cp_length_at_current()) == 2; | 2529 | 1.29k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::is_current_double_wide() const Line | Count | Source | 2525 | 254 | { | 2526 | 254 | assert(count() != 0 || multibyte_left() != 0); | 2527 | 254 | return _get_width_at_current_cp_start( | 2528 | 254 | _get_cp_length_at_current()) == 2; | 2529 | 254 | } |
|
2530 | | |
2531 | | constexpr decltype(auto) operator*() |
2532 | 194k | { |
2533 | 194k | return *m_current; |
2534 | 194k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator*() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::operator*() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator*() Line | Count | Source | 2532 | 144k | { | 2533 | 144k | return *m_current; | 2534 | 144k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::operator*() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator*() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::operator*() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator*() Line | Count | Source | 2532 | 38.6k | { | 2533 | 38.6k | return *m_current; | 2534 | 38.6k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::operator*() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::operator*() Line | Count | Source | 2532 | 9.41k | { | 2533 | 9.41k | return *m_current; | 2534 | 9.41k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::operator*() Line | Count | Source | 2532 | 1.99k | { | 2533 | 1.99k | return *m_current; | 2534 | 1.99k | } |
|
2535 | | constexpr decltype(auto) operator*() const |
2536 | 14.3k | { |
2537 | 14.3k | return *m_current; |
2538 | 14.3k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator*() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator*() const Line | Count | Source | 2536 | 11.9k | { | 2537 | 11.9k | return *m_current; | 2538 | 11.9k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator*() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator*() const Line | Count | Source | 2536 | 2.37k | { | 2537 | 2.37k | return *m_current; | 2538 | 2.37k | } |
|
2539 | | |
2540 | | constexpr counted_width_iterator& operator++() |
2541 | 192k | { |
2542 | 192k | SCN_EXPECT(m_current != m_end); |
2543 | 192k | _increment_current(); |
2544 | 192k | return *this; |
2545 | 192k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator++() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::operator++() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator++() Line | Count | Source | 2541 | 155k | { | 2542 | 155k | SCN_EXPECT(m_current != m_end); | 2543 | 155k | _increment_current(); | 2544 | 155k | return *this; | 2545 | 155k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::operator++() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator++() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::operator++() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator++() Line | Count | Source | 2541 | 25.7k | { | 2542 | 25.7k | SCN_EXPECT(m_current != m_end); | 2543 | 25.7k | _increment_current(); | 2544 | 25.7k | return *this; | 2545 | 25.7k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::operator++() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::operator++() Line | Count | Source | 2541 | 11.0k | { | 2542 | 11.0k | SCN_EXPECT(m_current != m_end); | 2543 | 11.0k | _increment_current(); | 2544 | 11.0k | return *this; | 2545 | 11.0k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::operator++() Line | Count | Source | 2541 | 934 | { | 2542 | 934 | SCN_EXPECT(m_current != m_end); | 2543 | 934 | _increment_current(); | 2544 | 934 | return *this; | 2545 | 934 | } |
|
2546 | | |
2547 | | constexpr counted_width_iterator operator++(int) |
2548 | | { |
2549 | | auto tmp = *this; |
2550 | | ++*this; |
2551 | | return tmp; |
2552 | | } |
2553 | | |
2554 | | template <typename Iter = It> |
2555 | | constexpr auto operator--() |
2556 | | -> std::enable_if_t<ranges::bidirectional_iterator<Iter>, |
2557 | | counted_width_iterator&> |
2558 | 0 | { |
2559 | 0 | _decrement_current(); |
2560 | 0 | return *this; |
2561 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorIPKcS5_EmmIS5_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERS6_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKcS5_EENS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEE8sentinelILb1EEEEmmIS6_EENS8_9enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorIPKwS5_EmmIS5_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERS6_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKwS5_EENS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEE8sentinelILb1EEEEmmIS6_EENS8_9enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKcS5_EENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS5_S5_EEE8sentinelILb1EEEEmmIS6_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKwS5_EENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS5_S5_EEE8sentinelILb1EEEEmmIS6_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv |
2562 | | |
2563 | | template <typename Iter = It> |
2564 | | constexpr auto operator--(int) |
2565 | | -> std::enable_if_t<ranges::bidirectional_iterator<Iter>, |
2566 | | counted_width_iterator> |
2567 | | { |
2568 | | auto tmp = *this; |
2569 | | --*this; |
2570 | | return tmp; |
2571 | | } |
2572 | | |
2573 | | // TODO: optimize, make better than forward, if possible |
2574 | | #if 0 |
2575 | | template <typename Iter = It> |
2576 | | constexpr auto operator+(difference_type n) -> std::enable_if_t< |
2577 | | ranges_std::random_access_iterator<Iter>, |
2578 | | counted_width_iterator> |
2579 | | { |
2580 | | // TODO |
2581 | | return counted_width_iterator(m_current + n, m_count - n); |
2582 | | } |
2583 | | |
2584 | | template <typename Iter = It, |
2585 | | std::enable_if_t<ranges_std::random_access_iterator< |
2586 | | Iter>>* = nullptr> |
2587 | | friend constexpr counted_width_iterator operator+( |
2588 | | ranges_std::iter_difference_t<Iter> n, |
2589 | | const counted_width_iterator<Iter>& x) |
2590 | | { |
2591 | | return x + n; |
2592 | | } |
2593 | | |
2594 | | template <typename Iter = It> |
2595 | | constexpr auto operator+=(difference_type n) |
2596 | | -> std::enable_if_t< |
2597 | | ranges_std::random_access_iterator<Iter>, |
2598 | | counted_width_iterator&> |
2599 | | { |
2600 | | // TODO |
2601 | | m_current += n; |
2602 | | m_count -= n; |
2603 | | return *this; |
2604 | | } |
2605 | | |
2606 | | template <typename Iter = It> |
2607 | | constexpr auto operator-(difference_type n) -> std::enable_if_t< |
2608 | | ranges_std::random_access_iterator<Iter>, |
2609 | | counted_width_iterator> |
2610 | | { |
2611 | | // TODO |
2612 | | return counted_width_iterator(m_current - n, m_count + n); |
2613 | | } |
2614 | | |
2615 | | template <typename Iter = It, |
2616 | | std::enable_if_t<ranges_std::random_access_iterator< |
2617 | | Iter>>* = nullptr> |
2618 | | constexpr decltype(auto) operator[](difference_type n) const |
2619 | | { |
2620 | | return m_current[n]; |
2621 | | } |
2622 | | #endif |
2623 | | |
2624 | | template <typename OtherIt, typename OtherS> |
2625 | | friend constexpr auto operator==( |
2626 | | const counted_width_iterator& a, |
2627 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2628 | | -> decltype(SCN_DECLVAL(const It&) == SCN_DECLVAL(const OtherIt&)) |
2629 | 114k | { |
2630 | 114k | return a.m_current == b.m_current; |
2631 | 114k | } Unexecuted instantiation: decltype (((static_cast<scn::v4::detail::basic_scan_buffer<char>::forward_iterator const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::detail::basic_scan_buffer<char>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<char const* const& (*scn::v4::impl::counted_width_iterator_impl::operator==<char const*, char const*>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&))()>(decltype(nullptr)))())==((static_cast<char const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2629 | 98.1k | { | 2630 | 98.1k | return a.m_current == b.m_current; | 2631 | 98.1k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<wchar_t const* const& (*scn::v4::impl::counted_width_iterator_impl::operator==<wchar_t const*, wchar_t const*>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&))()>(decltype(nullptr)))())==((static_cast<wchar_t const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2629 | 10.1k | { | 2630 | 10.1k | return a.m_current == b.m_current; | 2631 | 10.1k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2629 | 6.66k | { | 2630 | 6.66k | return a.m_current == b.m_current; | 2631 | 6.66k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) |
2632 | | template <typename OtherIt, typename OtherS> |
2633 | | friend constexpr auto operator!=( |
2634 | | const counted_width_iterator& a, |
2635 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2636 | | -> decltype(SCN_DECLVAL(const It&) == SCN_DECLVAL(const OtherIt&)) |
2637 | 105k | { |
2638 | 105k | return !(a == b); |
2639 | 105k | } Unexecuted instantiation: decltype (((static_cast<scn::v4::detail::basic_scan_buffer<char>::forward_iterator const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::detail::basic_scan_buffer<char>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<char const* const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<char const*, char const*>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&))()>(decltype(nullptr)))())==((static_cast<char const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2637 | 89.3k | { | 2638 | 89.3k | return !(a == b); | 2639 | 89.3k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<wchar_t const* const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<wchar_t const*, wchar_t const*>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&))()>(decltype(nullptr)))())==((static_cast<wchar_t const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2637 | 9.29k | { | 2638 | 9.29k | return !(a == b); | 2639 | 9.29k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2637 | 6.66k | { | 2638 | 6.66k | return !(a == b); | 2639 | 6.66k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) |
2640 | | |
2641 | | friend constexpr bool operator==(const counted_width_iterator& x, |
2642 | | ranges::default_sentinel_t) |
2643 | | { |
2644 | | return (x.count() == 0 && x.multibyte_left() == 0) || |
2645 | | (x.count() == 1 && x.multibyte_left() == 0 && |
2646 | | x.is_current_double_wide()); |
2647 | | } |
2648 | | friend constexpr bool operator==(ranges::default_sentinel_t s, |
2649 | | const counted_width_iterator& x) |
2650 | | { |
2651 | | return x == s; |
2652 | | } |
2653 | | |
2654 | | friend constexpr bool operator!=(const counted_width_iterator& a, |
2655 | | ranges::default_sentinel_t b) |
2656 | | { |
2657 | | return !(a == b); |
2658 | | } |
2659 | | friend constexpr bool operator!=(ranges::default_sentinel_t a, |
2660 | | const counted_width_iterator& b) |
2661 | | { |
2662 | | return !(a == b); |
2663 | | } |
2664 | | |
2665 | | template <typename OtherIt, typename OtherS> |
2666 | | friend constexpr auto operator<( |
2667 | | const counted_width_iterator& a, |
2668 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2669 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2670 | | { |
2671 | | if (a.count() == b.count()) { |
2672 | | return a.multibyte_left() > b.multibyte_left(); |
2673 | | } |
2674 | | |
2675 | | return a.count() > b.count(); |
2676 | | } |
2677 | | |
2678 | | template <typename OtherIt, typename OtherS> |
2679 | | friend constexpr auto operator>( |
2680 | | const counted_width_iterator& a, |
2681 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2682 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2683 | | { |
2684 | | return !(b < a); |
2685 | | } |
2686 | | |
2687 | | template <typename OtherIt, typename OtherS> |
2688 | | friend constexpr auto operator<=( |
2689 | | const counted_width_iterator& a, |
2690 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2691 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2692 | | { |
2693 | | return !(b < a); |
2694 | | } |
2695 | | |
2696 | | template <typename OtherIt, typename OtherS> |
2697 | | friend constexpr auto operator>=( |
2698 | | const counted_width_iterator& a, |
2699 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2700 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2701 | | { |
2702 | | return !(a < b); |
2703 | | } |
2704 | | |
2705 | | #if 0 |
2706 | | template <typename OtherIt, typename OtherS> |
2707 | | friend constexpr auto operator-( |
2708 | | const counted_width_iterator& a, |
2709 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2710 | | -> std::enable_if_t<ranges_std::common_with<OtherIt, It>, |
2711 | | ranges_std::iter_difference_t<OtherIt>> |
2712 | | { |
2713 | | // TODO |
2714 | | } |
2715 | | |
2716 | | friend constexpr ranges_std::iter_difference_t<It> operator-( |
2717 | | const counted_width_iterator& x, |
2718 | | ranges_std::default_sentinel_t) |
2719 | | { |
2720 | | // TODO |
2721 | | } |
2722 | | |
2723 | | friend constexpr ranges_std::iter_difference_t<It> operator-( |
2724 | | ranges_std::default_sentinel_t, |
2725 | | const counted_width_iterator& x) |
2726 | | { |
2727 | | // TODO |
2728 | | } |
2729 | | #endif |
2730 | | |
2731 | | #if 0 |
2732 | | template <typename Iter = It> |
2733 | | constexpr auto operator-=(difference_type n) |
2734 | | -> std::enable_if_t< |
2735 | | ranges_std::random_access_iterator<Iter>, |
2736 | | counted_width_iterator&> |
2737 | | { |
2738 | | // TODO |
2739 | | m_current -= n; |
2740 | | m_count += n; |
2741 | | return *this; |
2742 | | } |
2743 | | #endif |
2744 | | |
2745 | | private: |
2746 | | difference_type _get_cp_length_at_current() const |
2747 | 120k | { |
2748 | 120k | return static_cast<difference_type>( |
2749 | 120k | detail::code_point_length_by_starting_code_unit(*m_current)); |
2750 | 120k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_get_cp_length_at_current() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_get_cp_length_at_current() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_get_cp_length_at_current() const Line | Count | Source | 2747 | 83.8k | { | 2748 | 83.8k | return static_cast<difference_type>( | 2749 | 83.8k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2750 | 83.8k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_get_cp_length_at_current() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_get_cp_length_at_current() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_get_cp_length_at_current() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_get_cp_length_at_current() const Line | Count | Source | 2747 | 27.5k | { | 2748 | 27.5k | return static_cast<difference_type>( | 2749 | 27.5k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2750 | 27.5k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_get_cp_length_at_current() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_get_cp_length_at_current() const Line | Count | Source | 2747 | 7.68k | { | 2748 | 7.68k | return static_cast<difference_type>( | 2749 | 7.68k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2750 | 7.68k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_get_cp_length_at_current() const Line | Count | Source | 2747 | 1.18k | { | 2748 | 1.18k | return static_cast<difference_type>( | 2749 | 1.18k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2750 | 1.18k | } |
|
2751 | | |
2752 | | difference_type _get_width_at_current_cp_start(difference_type cplen) const |
2753 | 120k | { |
2754 | 120k | if (SCN_UNLIKELY(cplen == 0)) { |
2755 | 1.77k | return 0; |
2756 | 1.77k | } |
2757 | | |
2758 | 118k | if (cplen == 1) { |
2759 | 88.9k | SCN_EXPECT(m_current != m_end); |
2760 | 88.9k | auto cp = static_cast<char32_t>(*m_current); |
2761 | 88.9k | return static_cast<difference_type>(calculate_valid_text_width(cp)); |
2762 | 88.9k | } |
2763 | | |
2764 | 29.6k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, |
2765 | 29.6k | cplen); |
2766 | 29.6k | if (SCN_UNLIKELY(!r)) { |
2767 | 416 | return 0; |
2768 | 416 | } |
2769 | | |
2770 | 29.1k | auto cp_str = std::basic_string<value_type>{m_current, *r}; |
2771 | 29.1k | return static_cast<difference_type>( |
2772 | 29.1k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); |
2773 | 29.6k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_get_width_at_current_cp_start(long) const Line | Count | Source | 2753 | 83.8k | { | 2754 | 83.8k | if (SCN_UNLIKELY(cplen == 0)) { | 2755 | 1.77k | return 0; | 2756 | 1.77k | } | 2757 | | | 2758 | 82.1k | if (cplen == 1) { | 2759 | 55.9k | SCN_EXPECT(m_current != m_end); | 2760 | 55.9k | auto cp = static_cast<char32_t>(*m_current); | 2761 | 55.9k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2762 | 55.9k | } | 2763 | | | 2764 | 26.2k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2765 | 26.2k | cplen); | 2766 | 26.2k | if (SCN_UNLIKELY(!r)) { | 2767 | 416 | return 0; | 2768 | 416 | } | 2769 | | | 2770 | 25.7k | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2771 | 25.7k | return static_cast<difference_type>( | 2772 | 25.7k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2773 | 26.2k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_get_width_at_current_cp_start(long) const Line | Count | Source | 2753 | 27.5k | { | 2754 | 27.5k | if (SCN_UNLIKELY(cplen == 0)) { | 2755 | 0 | return 0; | 2756 | 0 | } | 2757 | | | 2758 | 27.5k | if (cplen == 1) { | 2759 | 27.5k | SCN_EXPECT(m_current != m_end); | 2760 | 27.5k | auto cp = static_cast<char32_t>(*m_current); | 2761 | 27.5k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2762 | 27.5k | } | 2763 | | | 2764 | 0 | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2765 | 0 | cplen); | 2766 | 0 | if (SCN_UNLIKELY(!r)) { | 2767 | 0 | return 0; | 2768 | 0 | } | 2769 | | | 2770 | 0 | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2771 | 0 | return static_cast<difference_type>( | 2772 | 0 | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2773 | 0 | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_get_width_at_current_cp_start(long) const Line | Count | Source | 2753 | 7.68k | { | 2754 | 7.68k | if (SCN_UNLIKELY(cplen == 0)) { | 2755 | 0 | return 0; | 2756 | 0 | } | 2757 | | | 2758 | 7.68k | if (cplen == 1) { | 2759 | 4.27k | SCN_EXPECT(m_current != m_end); | 2760 | 4.27k | auto cp = static_cast<char32_t>(*m_current); | 2761 | 4.27k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2762 | 4.27k | } | 2763 | | | 2764 | 3.40k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2765 | 3.40k | cplen); | 2766 | 3.40k | if (SCN_UNLIKELY(!r)) { | 2767 | 0 | return 0; | 2768 | 0 | } | 2769 | | | 2770 | 3.40k | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2771 | 3.40k | return static_cast<difference_type>( | 2772 | 3.40k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2773 | 3.40k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_get_width_at_current_cp_start(long) const Line | Count | Source | 2753 | 1.18k | { | 2754 | 1.18k | if (SCN_UNLIKELY(cplen == 0)) { | 2755 | 0 | return 0; | 2756 | 0 | } | 2757 | | | 2758 | 1.18k | if (cplen == 1) { | 2759 | 1.18k | SCN_EXPECT(m_current != m_end); | 2760 | 1.18k | auto cp = static_cast<char32_t>(*m_current); | 2761 | 1.18k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2762 | 1.18k | } | 2763 | | | 2764 | 0 | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2765 | 0 | cplen); | 2766 | 0 | if (SCN_UNLIKELY(!r)) { | 2767 | 0 | return 0; | 2768 | 0 | } | 2769 | | | 2770 | 0 | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2771 | 0 | return static_cast<difference_type>( | 2772 | 0 | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2773 | 0 | } |
|
2774 | | |
2775 | | void _increment_current() |
2776 | 192k | { |
2777 | 192k | if (m_multibyte_left == 0) { |
2778 | 109k | auto cplen = _get_cp_length_at_current(); |
2779 | 109k | m_multibyte_left = cplen - 1; |
2780 | 109k | m_count -= _get_width_at_current_cp_start(cplen); |
2781 | 109k | } |
2782 | 83.5k | else { |
2783 | 83.5k | --m_multibyte_left; |
2784 | 83.5k | } |
2785 | | |
2786 | 192k | ++m_current; |
2787 | 192k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_increment_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_increment_current() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_increment_current() Line | Count | Source | 2776 | 155k | { | 2777 | 155k | if (m_multibyte_left == 0) { | 2778 | 76.2k | auto cplen = _get_cp_length_at_current(); | 2779 | 76.2k | m_multibyte_left = cplen - 1; | 2780 | 76.2k | m_count -= _get_width_at_current_cp_start(cplen); | 2781 | 76.2k | } | 2782 | 78.8k | else { | 2783 | 78.8k | --m_multibyte_left; | 2784 | 78.8k | } | 2785 | | | 2786 | 155k | ++m_current; | 2787 | 155k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_increment_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_increment_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_increment_current() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_increment_current() Line | Count | Source | 2776 | 25.7k | { | 2777 | 25.7k | if (m_multibyte_left == 0) { | 2778 | 25.7k | auto cplen = _get_cp_length_at_current(); | 2779 | 25.7k | m_multibyte_left = cplen - 1; | 2780 | 25.7k | m_count -= _get_width_at_current_cp_start(cplen); | 2781 | 25.7k | } | 2782 | 0 | else { | 2783 | 0 | --m_multibyte_left; | 2784 | 0 | } | 2785 | | | 2786 | 25.7k | ++m_current; | 2787 | 25.7k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_increment_current() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_increment_current() Line | Count | Source | 2776 | 11.0k | { | 2777 | 11.0k | if (m_multibyte_left == 0) { | 2778 | 6.39k | auto cplen = _get_cp_length_at_current(); | 2779 | 6.39k | m_multibyte_left = cplen - 1; | 2780 | 6.39k | m_count -= _get_width_at_current_cp_start(cplen); | 2781 | 6.39k | } | 2782 | 4.68k | else { | 2783 | 4.68k | --m_multibyte_left; | 2784 | 4.68k | } | 2785 | | | 2786 | 11.0k | ++m_current; | 2787 | 11.0k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_increment_current() Line | Count | Source | 2776 | 934 | { | 2777 | 934 | if (m_multibyte_left == 0) { | 2778 | 934 | auto cplen = _get_cp_length_at_current(); | 2779 | 934 | m_multibyte_left = cplen - 1; | 2780 | 934 | m_count -= _get_width_at_current_cp_start(cplen); | 2781 | 934 | } | 2782 | 0 | else { | 2783 | 0 | --m_multibyte_left; | 2784 | 0 | } | 2785 | | | 2786 | 934 | ++m_current; | 2787 | 934 | } |
|
2788 | | |
2789 | | void _decrement_current() |
2790 | 0 | { |
2791 | 0 | --m_current; |
2792 | |
|
2793 | 0 | auto cplen = _get_cp_length_at_current(); |
2794 | 0 | if (cplen == 0) { |
2795 | 0 | ++m_multibyte_left; |
2796 | 0 | } |
2797 | 0 | else { |
2798 | 0 | m_count += _get_width_at_current_cp_start(cplen); |
2799 | 0 | m_multibyte_left = cplen - 1; |
2800 | 0 | } |
2801 | 0 | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_decrement_current() |
2802 | | |
2803 | | It m_current{}; |
2804 | | S m_end{}; |
2805 | | difference_type m_count{0}; |
2806 | | difference_type m_multibyte_left{0}; |
2807 | | }; |
2808 | | |
2809 | | template <typename I, typename S> |
2810 | | counted_width_iterator(I, S, ranges::iter_difference_t<I>) |
2811 | | -> counted_width_iterator<I, S>; |
2812 | | } // namespace counted_width_iterator_impl |
2813 | | |
2814 | | using counted_width_iterator_impl::counted_width_iterator; |
2815 | | |
2816 | | template <typename View, typename = void> |
2817 | | struct take_width_view_storage; |
2818 | | |
2819 | | template <typename View> |
2820 | | struct take_width_view_storage<View, |
2821 | | std::enable_if_t<ranges::borrowed_range<View>>> { |
2822 | 17.8k | take_width_view_storage(const View& v) : view(v) {}Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, void>::take_width_view_storage(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::take_width_view_storage(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<std::__1::basic_string_view<char, std::__1::char_traits<char> >, void>::take_width_view_storage(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >, void>::take_width_view_storage(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&) scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, void>::take_width_view_storage(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> const&) Line | Count | Source | 2822 | 9.99k | take_width_view_storage(const View& v) : view(v) {} |
Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, void>::take_width_view_storage(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::take_width_view_storage(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, void>::take_width_view_storage(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >, void>::take_width_view_storage(scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&) scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, void>::take_width_view_storage(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&) Line | Count | Source | 2822 | 3.52k | take_width_view_storage(const View& v) : view(v) {} |
scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, void>::take_width_view_storage(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > const&) Line | Count | Source | 2822 | 3.21k | take_width_view_storage(const View& v) : view(v) {} |
scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, void>::take_width_view_storage(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&) Line | Count | Source | 2822 | 1.08k | take_width_view_storage(const View& v) : view(v) {} |
|
2823 | | |
2824 | | const View& get() const |
2825 | 185k | { |
2826 | 185k | return view; |
2827 | 185k | } Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<std::__1::basic_string_view<char, std::__1::char_traits<char> >, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >, void>::get() const scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, void>::get() const Line | Count | Source | 2825 | 120k | { | 2826 | 120k | return view; | 2827 | 120k | } |
Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >, void>::get() const scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, void>::get() const Line | Count | Source | 2825 | 36.7k | { | 2826 | 36.7k | return view; | 2827 | 36.7k | } |
scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, void>::get() const Line | Count | Source | 2825 | 22.0k | { | 2826 | 22.0k | return view; | 2827 | 22.0k | } |
scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, void>::get() const Line | Count | Source | 2825 | 6.77k | { | 2826 | 6.77k | return view; | 2827 | 6.77k | } |
|
2828 | | |
2829 | | View view; |
2830 | | }; |
2831 | | |
2832 | | template <typename View> |
2833 | | struct take_width_view_storage< |
2834 | | View, |
2835 | | std::enable_if_t<!ranges::borrowed_range<View>>> { |
2836 | | take_width_view_storage(const View& v) : view(&v) {} |
2837 | | |
2838 | | const View& get() const |
2839 | | { |
2840 | | return *view; |
2841 | | } |
2842 | | |
2843 | | const View* view; |
2844 | | }; |
2845 | | |
2846 | | template <typename View> |
2847 | | class take_width_view : public ranges::view_interface<take_width_view<View>> { |
2848 | | template <bool IsConst> |
2849 | | class sentinel { |
2850 | | friend class sentinel<!IsConst>; |
2851 | | using Base = std::conditional_t<IsConst, const View, View>; |
2852 | | using CWI = counted_width_iterator<ranges::iterator_t<Base>, |
2853 | | ranges::sentinel_t<Base>>; |
2854 | | using underlying = ranges::sentinel_t<Base>; |
2855 | | |
2856 | | public: |
2857 | | constexpr sentinel() = default; |
2858 | | |
2859 | 103k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {}Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>::sentinel(scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>::sentinel(scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 2859 | 11.0k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) Line | Count | Source | 2859 | 2.88k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>::sentinel(char const*) scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>::sentinel(char const*) Line | Count | Source | 2859 | 71.2k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>::sentinel(wchar_t const*) scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>::sentinel(wchar_t const*) Line | Count | Source | 2859 | 18.1k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
|
2860 | | |
2861 | | template < |
2862 | | typename S, |
2863 | | std::enable_if_t<std::is_same_v<S, sentinel<!IsConst>>>* = nullptr, |
2864 | | bool C = IsConst, |
2865 | | typename VV = View, |
2866 | | std::enable_if_t<C && std::is_convertible_v<ranges::sentinel_t<VV>, |
2867 | | underlying>>* = nullptr> |
2868 | | constexpr explicit sentinel(S s) : m_end(SCN_MOVE(s.m_end)) |
2869 | | { |
2870 | | } |
2871 | | |
2872 | | constexpr underlying base() const |
2873 | | { |
2874 | | return m_end; |
2875 | | } |
2876 | | |
2877 | | friend constexpr bool operator==(const CWI& y, const sentinel& x) |
2878 | 197k | { |
2879 | 197k | return (y.count() == 0 && y.multibyte_left() == 0) || |
2880 | 197k | y.base() == x.m_end || |
2881 | 197k | (y.count() == 1 && y.multibyte_left() == 0 && |
2882 | 193k | y.is_current_double_wide()); |
2883 | 197k | } Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> const&) scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> const&) Line | Count | Source | 2878 | 145k | { | 2879 | 145k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2880 | 145k | y.base() == x.m_end || | 2881 | 145k | (y.count() == 1 && y.multibyte_left() == 0 && | 2882 | 142k | y.is_current_double_wide()); | 2883 | 145k | } |
Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> const&) scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> const&) Line | Count | Source | 2878 | 35.2k | { | 2879 | 35.2k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2880 | 35.2k | y.base() == x.m_end || | 2881 | 35.2k | (y.count() == 1 && y.multibyte_left() == 0 && | 2882 | 34.5k | y.is_current_double_wide()); | 2883 | 35.2k | } |
scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> const&) Line | Count | Source | 2878 | 14.2k | { | 2879 | 14.2k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2880 | 14.2k | y.base() == x.m_end || | 2881 | 14.2k | (y.count() == 1 && y.multibyte_left() == 0 && | 2882 | 13.7k | y.is_current_double_wide()); | 2883 | 14.2k | } |
scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> const&) Line | Count | Source | 2878 | 2.88k | { | 2879 | 2.88k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2880 | 2.88k | y.base() == x.m_end || | 2881 | 2.88k | (y.count() == 1 && y.multibyte_left() == 0 && | 2882 | 2.85k | y.is_current_double_wide()); | 2883 | 2.88k | } |
|
2884 | | |
2885 | | friend constexpr bool operator==(const sentinel& x, const CWI& y) |
2886 | | { |
2887 | | return y == x; |
2888 | | } |
2889 | | |
2890 | | friend constexpr bool operator!=(const CWI& y, const sentinel& x) |
2891 | 102k | { |
2892 | 102k | return !(y == x); |
2893 | 102k | } Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> const&) scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> const&) Line | Count | Source | 2891 | 78.0k | { | 2892 | 78.0k | return !(y == x); | 2893 | 78.0k | } |
Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> const&) scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> const&) Line | Count | Source | 2891 | 16.4k | { | 2892 | 16.4k | return !(y == x); | 2893 | 16.4k | } |
scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> const&) Line | Count | Source | 2891 | 7.15k | { | 2892 | 7.15k | return !(y == x); | 2893 | 7.15k | } |
scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> const&) Line | Count | Source | 2891 | 1.16k | { | 2892 | 1.16k | return !(y == x); | 2893 | 1.16k | } |
|
2894 | | |
2895 | | friend constexpr bool operator!=(const sentinel& x, const CWI& y) |
2896 | | { |
2897 | | return !(y == x); |
2898 | | } |
2899 | | |
2900 | | private: |
2901 | | SCN_NO_UNIQUE_ADDRESS underlying m_end{}; |
2902 | | }; |
2903 | | |
2904 | | public: |
2905 | | using value_type = ranges::range_value_t<View>; |
2906 | | |
2907 | | take_width_view() = default; |
2908 | | |
2909 | | constexpr take_width_view(const View& base, std::ptrdiff_t count) |
2910 | 17.8k | : m_base(base), m_count(count) |
2911 | 17.8k | { |
2912 | 17.8k | } Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::take_width_view(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::take_width_view(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::take_width_view(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::take_width_view(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&, long) scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::take_width_view(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> const&, long) Line | Count | Source | 2910 | 9.99k | : m_base(base), m_count(count) | 2911 | 9.99k | { | 2912 | 9.99k | } |
Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::take_width_view(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::take_width_view(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::take_width_view(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::take_width_view(scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&, long) scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::take_width_view(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&, long) Line | Count | Source | 2910 | 3.52k | : m_base(base), m_count(count) | 2911 | 3.52k | { | 2912 | 3.52k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::take_width_view(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > const&, long) Line | Count | Source | 2910 | 3.21k | : m_base(base), m_count(count) | 2911 | 3.21k | { | 2912 | 3.21k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::take_width_view(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&, long) Line | Count | Source | 2910 | 1.08k | : m_base(base), m_count(count) | 2911 | 1.08k | { | 2912 | 1.08k | } |
|
2913 | | |
2914 | | constexpr View base() const |
2915 | | { |
2916 | | return m_base; |
2917 | | } |
2918 | | |
2919 | | constexpr auto begin() const |
2920 | 41.2k | { |
2921 | 41.2k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), |
2922 | 41.2k | m_count}; |
2923 | 41.2k | } Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::begin() const scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::begin() const Line | Count | Source | 2920 | 24.5k | { | 2921 | 24.5k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2922 | 24.5k | m_count}; | 2923 | 24.5k | } |
Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::begin() const scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::begin() const Line | Count | Source | 2920 | 9.29k | { | 2921 | 9.29k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2922 | 9.29k | m_count}; | 2923 | 9.29k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::begin() const Line | Count | Source | 2920 | 5.50k | { | 2921 | 5.50k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2922 | 5.50k | m_count}; | 2923 | 5.50k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::begin() const Line | Count | Source | 2920 | 1.94k | { | 2921 | 1.94k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2922 | 1.94k | m_count}; | 2923 | 1.94k | } |
|
2924 | | |
2925 | | constexpr auto end() const |
2926 | 103k | { |
2927 | 103k | return sentinel<true>{m_base.get().end()}; |
2928 | 103k | } Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::end() const scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::end() const Line | Count | Source | 2926 | 71.2k | { | 2927 | 71.2k | return sentinel<true>{m_base.get().end()}; | 2928 | 71.2k | } |
Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::end() const scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::end() const Line | Count | Source | 2926 | 18.1k | { | 2927 | 18.1k | return sentinel<true>{m_base.get().end()}; | 2928 | 18.1k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::end() const Line | Count | Source | 2926 | 11.0k | { | 2927 | 11.0k | return sentinel<true>{m_base.get().end()}; | 2928 | 11.0k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::end() const Line | Count | Source | 2926 | 2.88k | { | 2927 | 2.88k | return sentinel<true>{m_base.get().end()}; | 2928 | 2.88k | } |
|
2929 | | |
2930 | | private: |
2931 | | take_width_view_storage<View> m_base{}; |
2932 | | std::ptrdiff_t m_count{0}; |
2933 | | }; |
2934 | | |
2935 | | template <typename R> |
2936 | | take_width_view(R&&, std::ptrdiff_t) -> take_width_view<R>; |
2937 | | |
2938 | | struct _take_width_fn { |
2939 | | template <typename R> |
2940 | | constexpr auto operator()(const R& r, std::ptrdiff_t n) const |
2941 | | -> decltype(take_width_view{r, n}) |
2942 | 17.8k | { |
2943 | 17.8k | return take_width_view{r, n}; |
2944 | 17.8k | } Unexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&, long) constdecltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> const&, long) constLine | Count | Source | 2942 | 9.99k | { | 2943 | 9.99k | return take_width_view{r, n}; | 2944 | 9.99k | } |
Unexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >(scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&, long) constdecltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&, long) constLine | Count | Source | 2942 | 3.52k | { | 2943 | 3.52k | return take_width_view{r, n}; | 2944 | 3.52k | } |
decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > const&, long) constLine | Count | Source | 2942 | 3.21k | { | 2943 | 3.21k | return take_width_view{r, n}; | 2944 | 3.21k | } |
decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&, long) constLine | Count | Source | 2942 | 1.08k | { | 2943 | 1.08k | return take_width_view{r, n}; | 2944 | 1.08k | } |
|
2945 | | }; |
2946 | | |
2947 | | inline constexpr _take_width_fn take_width{}; |
2948 | | } // namespace impl |
2949 | | |
2950 | | namespace ranges { |
2951 | | template <typename R> |
2952 | | inline constexpr bool enable_borrowed_range<::scn::impl::take_width_view<R>> = |
2953 | | enable_borrowed_range<R>; |
2954 | | } |
2955 | | |
2956 | | ///////////////////////////////////////////////////////////////// |
2957 | | // contiguous_scan_context |
2958 | | ///////////////////////////////////////////////////////////////// |
2959 | | |
2960 | | template <typename CharT> |
2961 | | class basic_scan_context<ranges::subrange<const CharT*, const CharT*>, CharT> |
2962 | | : public detail::scan_context_base<basic_scan_args< |
2963 | | basic_scan_context<detail::buffer_range_tag, CharT>>> { |
2964 | | using base = detail::scan_context_base< |
2965 | | basic_scan_args<basic_scan_context<detail::buffer_range_tag, CharT>>>; |
2966 | | |
2967 | | using parent_context_type = |
2968 | | basic_scan_context<detail::buffer_range_tag, CharT>; |
2969 | | using args_type = basic_scan_args<parent_context_type>; |
2970 | | using arg_type = basic_scan_arg<parent_context_type>; |
2971 | | |
2972 | | public: |
2973 | | using char_type = CharT; |
2974 | | using range_type = ranges::subrange<const char_type*, const char_type*>; |
2975 | | using iterator = const char_type*; |
2976 | | using sentinel = const char_type*; |
2977 | | using parse_context_type = basic_scan_parse_context<char_type>; |
2978 | | |
2979 | | template <typename Range, |
2980 | | std::enable_if_t<ranges::contiguous_range<Range> && |
2981 | | ranges::borrowed_range<Range>>* = nullptr> |
2982 | | constexpr basic_scan_context(Range&& r, |
2983 | | args_type a, |
2984 | | detail::locale_ref loc = {}) |
2985 | 135k | : base(SCN_MOVE(a), loc), |
2986 | 135k | m_range(ranges::data(r), ranges::data(r) + ranges::size(r)), |
2987 | 135k | m_current(m_range.begin()) |
2988 | 135k | { |
2989 | 135k | } Unexecuted instantiation: _ZN3scn2v418basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS7_EEcEC2INSt3__117basic_string_viewIcNSB_11char_traitsIcEEEETnPNSB_9enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISH_EEvE4typeELPv0EEEOSH_NS0_15basic_scan_argsINS1_INS0_6detail16buffer_range_tagEcEEEENSO_10locale_refE Unexecuted instantiation: _ZN3scn2v418basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS7_EEwEC2INSt3__117basic_string_viewIwNSB_11char_traitsIwEEEETnPNSB_9enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISH_EEvE4typeELPv0EEEOSH_NS0_15basic_scan_argsINS1_INS0_6detail16buffer_range_tagEwEEEENSO_10locale_refE _ZN3scn2v418basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS7_EEcEC2IRS8_TnPNSt3__19enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISE_EEvE4typeELPv0EEEOSE_NS0_15basic_scan_argsINS1_INS0_6detail16buffer_range_tagEcEEEENSL_10locale_refE Line | Count | Source | 2985 | 45.1k | : base(SCN_MOVE(a), loc), | 2986 | 45.1k | m_range(ranges::data(r), ranges::data(r) + ranges::size(r)), | 2987 | 45.1k | m_current(m_range.begin()) | 2988 | 45.1k | { | 2989 | 45.1k | } |
_ZN3scn2v418basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS7_EEwEC2IRS8_TnPNSt3__19enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISE_EEvE4typeELPv0EEEOSE_NS0_15basic_scan_argsINS1_INS0_6detail16buffer_range_tagEwEEEENSL_10locale_refE Line | Count | Source | 2985 | 90.3k | : base(SCN_MOVE(a), loc), | 2986 | 90.3k | m_range(ranges::data(r), ranges::data(r) + ranges::size(r)), | 2987 | 90.3k | m_current(m_range.begin()) | 2988 | 90.3k | { | 2989 | 90.3k | } |
|
2990 | | |
2991 | | constexpr iterator begin() const |
2992 | 185M | { |
2993 | 185M | return m_current; |
2994 | 185M | } scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::begin() const Line | Count | Source | 2992 | 122k | { | 2993 | 122k | return m_current; | 2994 | 122k | } |
scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::begin() const Line | Count | Source | 2992 | 185M | { | 2993 | 185M | return m_current; | 2994 | 185M | } |
|
2995 | | |
2996 | | constexpr sentinel end() const |
2997 | 370M | { |
2998 | 370M | return m_range.end(); |
2999 | 370M | } scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::end() const Line | Count | Source | 2997 | 118k | { | 2998 | 118k | return m_range.end(); | 2999 | 118k | } |
scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::end() const Line | Count | Source | 2997 | 370M | { | 2998 | 370M | return m_range.end(); | 2999 | 370M | } |
|
3000 | | |
3001 | | constexpr auto range() const |
3002 | 47.2k | { |
3003 | 47.2k | return ranges::subrange{begin(), end()}; |
3004 | 47.2k | } scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::range() const Line | Count | Source | 3002 | 33.5k | { | 3003 | 33.5k | return ranges::subrange{begin(), end()}; | 3004 | 33.5k | } |
scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::range() const Line | Count | Source | 3002 | 13.7k | { | 3003 | 13.7k | return ranges::subrange{begin(), end()}; | 3004 | 13.7k | } |
|
3005 | | |
3006 | | constexpr auto underlying_range() const |
3007 | 0 | { |
3008 | 0 | return m_range; |
3009 | 0 | } Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::underlying_range() const Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::underlying_range() const |
3010 | | |
3011 | | void advance_to(iterator it) |
3012 | 185M | { |
3013 | 185M | SCN_EXPECT(it <= end()); |
3014 | 185M | if constexpr (detail::is_comparable_with_nullptr<iterator>) { |
3015 | 185M | if (it == nullptr) { |
3016 | 0 | it = end(); |
3017 | 0 | } |
3018 | 185M | } |
3019 | 185M | m_current = SCN_MOVE(it); |
3020 | 185M | } scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::advance_to(char const*) Line | Count | Source | 3012 | 43.3k | { | 3013 | 43.3k | SCN_EXPECT(it <= end()); | 3014 | 43.3k | if constexpr (detail::is_comparable_with_nullptr<iterator>) { | 3015 | 43.3k | if (it == nullptr) { | 3016 | 0 | it = end(); | 3017 | 0 | } | 3018 | 43.3k | } | 3019 | 43.3k | m_current = SCN_MOVE(it); | 3020 | 43.3k | } |
scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::advance_to(wchar_t const*) Line | Count | Source | 3012 | 185M | { | 3013 | 185M | SCN_EXPECT(it <= end()); | 3014 | 185M | if constexpr (detail::is_comparable_with_nullptr<iterator>) { | 3015 | 185M | if (it == nullptr) { | 3016 | 0 | it = end(); | 3017 | 0 | } | 3018 | 185M | } | 3019 | 185M | m_current = SCN_MOVE(it); | 3020 | 185M | } |
|
3021 | | |
3022 | | void advance_to(const typename parent_context_type::iterator& it) |
3023 | 0 | { |
3024 | 0 | SCN_EXPECT(it.position() <= m_range.size()); |
3025 | 0 | m_current = m_range.begin() + it.position(); |
3026 | 0 | } Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::advance_to(scn::v4::detail::basic_scan_buffer<char>::forward_iterator const&) Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::advance_to(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const&) |
3027 | | |
3028 | | std::ptrdiff_t begin_position() |
3029 | 0 | { |
3030 | 0 | return ranges::distance(m_range.begin(), begin()); |
3031 | 0 | } Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::begin_position() Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::begin_position() |
3032 | | |
3033 | | private: |
3034 | | range_type m_range; |
3035 | | iterator m_current; |
3036 | | }; |
3037 | | |
3038 | | namespace impl { |
3039 | | template <typename CharT> |
3040 | | using basic_contiguous_scan_context = |
3041 | | basic_scan_context<ranges::subrange<const CharT*, const CharT*>, CharT>; |
3042 | | |
3043 | | struct reader_error_handler { |
3044 | | constexpr void on_error(const char* msg) |
3045 | 12.8k | { |
3046 | 12.8k | SCN_UNLIKELY_ATTR |
3047 | 12.8k | m_msg = msg; |
3048 | 12.8k | } |
3049 | | explicit constexpr operator bool() const |
3050 | 28.3k | { |
3051 | 28.3k | return m_msg == nullptr; |
3052 | 28.3k | } |
3053 | | |
3054 | | const char* m_msg{nullptr}; |
3055 | | }; |
3056 | | |
3057 | | ///////////////////////////////////////////////////////////////// |
3058 | | // General reading support |
3059 | | ///////////////////////////////////////////////////////////////// |
3060 | | |
3061 | | template <typename SourceRange> |
3062 | | auto skip_classic_whitespace(const SourceRange& range, |
3063 | | bool allow_exhaustion = false) |
3064 | | -> eof_expected<ranges::const_iterator_t<SourceRange>> |
3065 | 16.7k | { |
3066 | 16.7k | if (!allow_exhaustion) { |
3067 | 15.5k | auto it = read_while_classic_space(range); |
3068 | 15.5k | if (auto e = eof_check(ranges::subrange{it, range.end()}); |
3069 | 15.5k | SCN_UNLIKELY(!e)) { |
3070 | 222 | return unexpected(e); |
3071 | 222 | } |
3072 | | |
3073 | 15.2k | return it; |
3074 | 15.5k | } |
3075 | | |
3076 | 1.27k | return read_while_classic_space(range); |
3077 | 16.7k | } Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSJ_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSE_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSD_b _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_b Line | Count | Source | 3065 | 536 | { | 3066 | 536 | if (!allow_exhaustion) { | 3067 | 0 | auto it = read_while_classic_space(range); | 3068 | 0 | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3069 | 0 | SCN_UNLIKELY(!e)) { | 3070 | 0 | return unexpected(e); | 3071 | 0 | } | 3072 | | | 3073 | 0 | return it; | 3074 | 0 | } | 3075 | | | 3076 | 536 | return read_while_classic_space(range); | 3077 | 536 | } |
_ZN3scn2v44impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSD_b Line | Count | Source | 3065 | 6.85k | { | 3066 | 6.85k | if (!allow_exhaustion) { | 3067 | 6.66k | auto it = read_while_classic_space(range); | 3068 | 6.66k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3069 | 6.66k | SCN_UNLIKELY(!e)) { | 3070 | 0 | return unexpected(e); | 3071 | 0 | } | 3072 | | | 3073 | 6.66k | return it; | 3074 | 6.66k | } | 3075 | | | 3076 | 192 | return read_while_classic_space(range); | 3077 | 6.85k | } |
Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSJ_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSE_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSD_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEERKSB_b _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_b Line | Count | Source | 3065 | 264 | { | 3066 | 264 | if (!allow_exhaustion) { | 3067 | 0 | auto it = read_while_classic_space(range); | 3068 | 0 | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3069 | 0 | SCN_UNLIKELY(!e)) { | 3070 | 0 | return unexpected(e); | 3071 | 0 | } | 3072 | | | 3073 | 0 | return it; | 3074 | 0 | } | 3075 | | | 3076 | 264 | return read_while_classic_space(range); | 3077 | 264 | } |
_ZN3scn2v44impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSD_b Line | Count | Source | 3065 | 5.97k | { | 3066 | 5.97k | if (!allow_exhaustion) { | 3067 | 5.69k | auto it = read_while_classic_space(range); | 3068 | 5.69k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3069 | 5.69k | SCN_UNLIKELY(!e)) { | 3070 | 0 | return unexpected(e); | 3071 | 0 | } | 3072 | | | 3073 | 5.69k | return it; | 3074 | 5.69k | } | 3075 | | | 3076 | 280 | return read_while_classic_space(range); | 3077 | 5.97k | } |
Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Line | Count | Source | 3065 | 2.29k | { | 3066 | 2.29k | if (!allow_exhaustion) { | 3067 | 2.29k | auto it = read_while_classic_space(range); | 3068 | 2.29k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3069 | 2.29k | SCN_UNLIKELY(!e)) { | 3070 | 222 | return unexpected(e); | 3071 | 222 | } | 3072 | | | 3073 | 2.07k | return it; | 3074 | 2.29k | } | 3075 | | | 3076 | 0 | return read_while_classic_space(range); | 3077 | 2.29k | } |
_ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Line | Count | Source | 3065 | 860 | { | 3066 | 860 | if (!allow_exhaustion) { | 3067 | 860 | auto it = read_while_classic_space(range); | 3068 | 860 | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3069 | 860 | SCN_UNLIKELY(!e)) { | 3070 | 0 | return unexpected(e); | 3071 | 0 | } | 3072 | | | 3073 | 860 | return it; | 3074 | 860 | } | 3075 | | | 3076 | 0 | return read_while_classic_space(range); | 3077 | 860 | } |
Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEERKSB_b |
3078 | | |
3079 | | template <typename SourceCharT, typename DestCharT> |
3080 | | scan_expected<void> transcode_impl(std::basic_string_view<SourceCharT> src, |
3081 | | std::basic_string<DestCharT>& dst) |
3082 | 2.40k | { |
3083 | 2.40k | dst.clear(); |
3084 | 2.40k | transcode_valid_to_string(src, dst); |
3085 | 2.40k | return {}; |
3086 | 2.40k | } scn::v4::scan_expected<void> scn::v4::impl::transcode_impl<char, wchar_t>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3082 | 1.57k | { | 3083 | 1.57k | dst.clear(); | 3084 | 1.57k | transcode_valid_to_string(src, dst); | 3085 | 1.57k | return {}; | 3086 | 1.57k | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_impl<wchar_t, char>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3082 | 826 | { | 3083 | 826 | dst.clear(); | 3084 | 826 | transcode_valid_to_string(src, dst); | 3085 | 826 | return {}; | 3086 | 826 | } |
|
3087 | | |
3088 | | template <typename SourceCharT, typename DestCharT> |
3089 | | scan_expected<void> transcode_if_necessary( |
3090 | | const contiguous_range_factory<SourceCharT>& source, |
3091 | | std::basic_string<DestCharT>& dest) |
3092 | | { |
3093 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
3094 | | dest.assign(source.view()); |
3095 | | } |
3096 | | else { |
3097 | | return transcode_impl(source.view(), dest); |
3098 | | } |
3099 | | |
3100 | | return {}; |
3101 | | } |
3102 | | |
3103 | | template <typename SourceCharT, typename DestCharT> |
3104 | | scan_expected<void> transcode_if_necessary( |
3105 | | contiguous_range_factory<SourceCharT>&& source, |
3106 | | std::basic_string<DestCharT>& dest) |
3107 | 1.14k | { |
3108 | 1.14k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
3109 | 572 | if (source.stores_allocated_string()) { |
3110 | 572 | dest.assign(SCN_MOVE(source.get_allocated_string())); |
3111 | 572 | } |
3112 | 0 | else { |
3113 | 0 | dest.assign(source.view()); |
3114 | 0 | } |
3115 | | } |
3116 | 572 | else { |
3117 | 572 | return transcode_impl(source.view(), dest); |
3118 | 572 | } |
3119 | | |
3120 | 0 | return {}; |
3121 | 1.14k | } scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<char, char>(scn::v4::impl::contiguous_range_factory<char>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3107 | 394 | { | 3108 | 394 | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3109 | 394 | if (source.stores_allocated_string()) { | 3110 | 394 | dest.assign(SCN_MOVE(source.get_allocated_string())); | 3111 | 394 | } | 3112 | 0 | else { | 3113 | 0 | dest.assign(source.view()); | 3114 | 0 | } | 3115 | | } | 3116 | | else { | 3117 | | return transcode_impl(source.view(), dest); | 3118 | | } | 3119 | | | 3120 | 394 | return {}; | 3121 | 394 | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<char, wchar_t>(scn::v4::impl::contiguous_range_factory<char>&&, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3107 | 394 | { | 3108 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3109 | | if (source.stores_allocated_string()) { | 3110 | | dest.assign(SCN_MOVE(source.get_allocated_string())); | 3111 | | } | 3112 | | else { | 3113 | | dest.assign(source.view()); | 3114 | | } | 3115 | | } | 3116 | 394 | else { | 3117 | 394 | return transcode_impl(source.view(), dest); | 3118 | 394 | } | 3119 | | | 3120 | 0 | return {}; | 3121 | 394 | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<wchar_t, char>(scn::v4::impl::contiguous_range_factory<wchar_t>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3107 | 178 | { | 3108 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3109 | | if (source.stores_allocated_string()) { | 3110 | | dest.assign(SCN_MOVE(source.get_allocated_string())); | 3111 | | } | 3112 | | else { | 3113 | | dest.assign(source.view()); | 3114 | | } | 3115 | | } | 3116 | 178 | else { | 3117 | 178 | return transcode_impl(source.view(), dest); | 3118 | 178 | } | 3119 | | | 3120 | 0 | return {}; | 3121 | 178 | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<wchar_t, wchar_t>(scn::v4::impl::contiguous_range_factory<wchar_t>&&, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3107 | 178 | { | 3108 | 178 | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3109 | 178 | if (source.stores_allocated_string()) { | 3110 | 178 | dest.assign(SCN_MOVE(source.get_allocated_string())); | 3111 | 178 | } | 3112 | 0 | else { | 3113 | 0 | dest.assign(source.view()); | 3114 | 0 | } | 3115 | | } | 3116 | | else { | 3117 | | return transcode_impl(source.view(), dest); | 3118 | | } | 3119 | | | 3120 | 178 | return {}; | 3121 | 178 | } |
|
3122 | | |
3123 | | template <typename SourceCharT, typename DestCharT> |
3124 | | scan_expected<void> transcode_if_necessary( |
3125 | | string_view_wrapper<SourceCharT> source, |
3126 | | std::basic_string<DestCharT>& dest) |
3127 | 3.65k | { |
3128 | 3.65k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
3129 | 1.82k | dest.assign(source.view()); |
3130 | | } |
3131 | 1.82k | else { |
3132 | 1.82k | return transcode_impl(source.view(), dest); |
3133 | 1.82k | } |
3134 | | |
3135 | 0 | return {}; |
3136 | 3.65k | } scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<char, char>(scn::v4::impl::string_view_wrapper<char>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3127 | 1.18k | { | 3128 | 1.18k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3129 | 1.18k | dest.assign(source.view()); | 3130 | | } | 3131 | | else { | 3132 | | return transcode_impl(source.view(), dest); | 3133 | | } | 3134 | | | 3135 | 1.18k | return {}; | 3136 | 1.18k | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<char, wchar_t>(scn::v4::impl::string_view_wrapper<char>, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3127 | 1.18k | { | 3128 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3129 | | dest.assign(source.view()); | 3130 | | } | 3131 | 1.18k | else { | 3132 | 1.18k | return transcode_impl(source.view(), dest); | 3133 | 1.18k | } | 3134 | | | 3135 | 0 | return {}; | 3136 | 1.18k | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<wchar_t, char>(scn::v4::impl::string_view_wrapper<wchar_t>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3127 | 648 | { | 3128 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3129 | | dest.assign(source.view()); | 3130 | | } | 3131 | 648 | else { | 3132 | 648 | return transcode_impl(source.view(), dest); | 3133 | 648 | } | 3134 | | | 3135 | 0 | return {}; | 3136 | 648 | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<wchar_t, wchar_t>(scn::v4::impl::string_view_wrapper<wchar_t>, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3127 | 648 | { | 3128 | 648 | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3129 | 648 | dest.assign(source.view()); | 3130 | | } | 3131 | | else { | 3132 | | return transcode_impl(source.view(), dest); | 3133 | | } | 3134 | | | 3135 | 648 | return {}; | 3136 | 648 | } |
|
3137 | | |
3138 | | ///////////////////////////////////////////////////////////////// |
3139 | | // Reader base classes etc. |
3140 | | ///////////////////////////////////////////////////////////////// |
3141 | | |
3142 | | template <typename Derived, typename CharT> |
3143 | | class reader_base { |
3144 | | public: |
3145 | | using char_type = CharT; |
3146 | | |
3147 | | constexpr reader_base() = default; |
3148 | | |
3149 | | bool skip_ws_before_read() const |
3150 | 8.99k | { |
3151 | 8.99k | return true; |
3152 | 8.99k | } scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<char>, char>::skip_ws_before_read() const Line | Count | Source | 3150 | 2.54k | { | 3151 | 2.54k | return true; | 3152 | 2.54k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<char>, char>::skip_ws_before_read() const Line | Count | Source | 3150 | 1.27k | { | 3151 | 1.27k | return true; | 3152 | 1.27k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<char>, char>::skip_ws_before_read() const scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3150 | 1.81k | { | 3151 | 1.81k | return true; | 3152 | 1.81k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3150 | 878 | { | 3151 | 878 | return true; | 3152 | 878 | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<wchar_t>, wchar_t>::skip_ws_before_read() const scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<char>, char>::skip_ws_before_read() const Line | Count | Source | 3150 | 1.50k | { | 3151 | 1.50k | return true; | 3152 | 1.50k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3150 | 984 | { | 3151 | 984 | return true; | 3152 | 984 | } |
|
3153 | | |
3154 | | scan_expected<void> check_specs(const detail::format_specs& specs) |
3155 | 22.1k | { |
3156 | 22.1k | reader_error_handler eh{}; |
3157 | 22.1k | get_derived().check_specs_impl(specs, eh); |
3158 | 22.1k | if (SCN_UNLIKELY(!eh)) { |
3159 | 8.65k | return detail::unexpected_scan_error( |
3160 | 8.65k | scan_error::invalid_format_string, eh.m_msg); |
3161 | 8.65k | } |
3162 | 13.4k | return {}; |
3163 | 22.1k | } scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<char>, char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 4.66k | { | 3156 | 4.66k | reader_error_handler eh{}; | 3157 | 4.66k | get_derived().check_specs_impl(specs, eh); | 3158 | 4.66k | if (SCN_UNLIKELY(!eh)) { | 3159 | 3.38k | return detail::unexpected_scan_error( | 3160 | 3.38k | scan_error::invalid_format_string, eh.m_msg); | 3161 | 3.38k | } | 3162 | 1.28k | return {}; | 3163 | 4.66k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<char>, char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 2.33k | { | 3156 | 2.33k | reader_error_handler eh{}; | 3157 | 2.33k | get_derived().check_specs_impl(specs, eh); | 3158 | 2.33k | if (SCN_UNLIKELY(!eh)) { | 3159 | 1.68k | return detail::unexpected_scan_error( | 3160 | 1.68k | scan_error::invalid_format_string, eh.m_msg); | 3161 | 1.68k | } | 3162 | 646 | return {}; | 3163 | 2.33k | } |
scn::v4::impl::reader_base<scn::v4::impl::string_reader<char>, char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 6.90k | { | 3156 | 6.90k | reader_error_handler eh{}; | 3157 | 6.90k | get_derived().check_specs_impl(specs, eh); | 3158 | 6.90k | if (SCN_UNLIKELY(!eh)) { | 3159 | 396 | return detail::unexpected_scan_error( | 3160 | 396 | scan_error::invalid_format_string, eh.m_msg); | 3161 | 396 | } | 3162 | 6.51k | return {}; | 3163 | 6.90k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<char>, char>::check_specs(scn::v4::detail::format_specs const&) scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 1.70k | { | 3156 | 1.70k | reader_error_handler eh{}; | 3157 | 1.70k | get_derived().check_specs_impl(specs, eh); | 3158 | 1.70k | if (SCN_UNLIKELY(!eh)) { | 3159 | 768 | return detail::unexpected_scan_error( | 3160 | 768 | scan_error::invalid_format_string, eh.m_msg); | 3161 | 768 | } | 3162 | 940 | return {}; | 3163 | 1.70k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 854 | { | 3156 | 854 | reader_error_handler eh{}; | 3157 | 854 | get_derived().check_specs_impl(specs, eh); | 3158 | 854 | if (SCN_UNLIKELY(!eh)) { | 3159 | 412 | return detail::unexpected_scan_error( | 3160 | 412 | scan_error::invalid_format_string, eh.m_msg); | 3161 | 412 | } | 3162 | 442 | return {}; | 3163 | 854 | } |
scn::v4::impl::reader_base<scn::v4::impl::string_reader<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 2.44k | { | 3156 | 2.44k | reader_error_handler eh{}; | 3157 | 2.44k | get_derived().check_specs_impl(specs, eh); | 3158 | 2.44k | if (SCN_UNLIKELY(!eh)) { | 3159 | 246 | return detail::unexpected_scan_error( | 3160 | 246 | scan_error::invalid_format_string, eh.m_msg); | 3161 | 246 | } | 3162 | 2.19k | return {}; | 3163 | 2.44k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<char>, char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 2.33k | { | 3156 | 2.33k | reader_error_handler eh{}; | 3157 | 2.33k | get_derived().check_specs_impl(specs, eh); | 3158 | 2.33k | if (SCN_UNLIKELY(!eh)) { | 3159 | 1.46k | return detail::unexpected_scan_error( | 3160 | 1.46k | scan_error::invalid_format_string, eh.m_msg); | 3161 | 1.46k | } | 3162 | 872 | return {}; | 3163 | 2.33k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3155 | 854 | { | 3156 | 854 | reader_error_handler eh{}; | 3157 | 854 | get_derived().check_specs_impl(specs, eh); | 3158 | 854 | if (SCN_UNLIKELY(!eh)) { | 3159 | 306 | return detail::unexpected_scan_error( | 3160 | 306 | scan_error::invalid_format_string, eh.m_msg); | 3161 | 306 | } | 3162 | 548 | return {}; | 3163 | 854 | } |
|
3164 | | |
3165 | | private: |
3166 | | Derived& get_derived() |
3167 | 22.1k | { |
3168 | 22.1k | return static_cast<Derived&>(*this); |
3169 | 22.1k | } scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<char>, char>::get_derived() Line | Count | Source | 3167 | 4.66k | { | 3168 | 4.66k | return static_cast<Derived&>(*this); | 3169 | 4.66k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<char>, char>::get_derived() Line | Count | Source | 3167 | 2.33k | { | 3168 | 2.33k | return static_cast<Derived&>(*this); | 3169 | 2.33k | } |
scn::v4::impl::reader_base<scn::v4::impl::string_reader<char>, char>::get_derived() Line | Count | Source | 3167 | 6.90k | { | 3168 | 6.90k | return static_cast<Derived&>(*this); | 3169 | 6.90k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<char>, char>::get_derived() scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3167 | 1.70k | { | 3168 | 1.70k | return static_cast<Derived&>(*this); | 3169 | 1.70k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3167 | 854 | { | 3168 | 854 | return static_cast<Derived&>(*this); | 3169 | 854 | } |
scn::v4::impl::reader_base<scn::v4::impl::string_reader<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3167 | 2.44k | { | 3168 | 2.44k | return static_cast<Derived&>(*this); | 3169 | 2.44k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<wchar_t>, wchar_t>::get_derived() scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<char>, char>::get_derived() Line | Count | Source | 3167 | 2.33k | { | 3168 | 2.33k | return static_cast<Derived&>(*this); | 3169 | 2.33k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3167 | 854 | { | 3168 | 854 | return static_cast<Derived&>(*this); | 3169 | 854 | } |
|
3170 | | const Derived& get_derived() const |
3171 | | { |
3172 | | return static_cast<const Derived&>(*this); |
3173 | | } |
3174 | | }; |
3175 | | |
3176 | | template <typename CharT> |
3177 | | class reader_impl_for_monostate { |
3178 | | public: |
3179 | | constexpr reader_impl_for_monostate() = default; |
3180 | | |
3181 | | bool skip_ws_before_read() const |
3182 | 0 | { |
3183 | 0 | return true; |
3184 | 0 | } Unexecuted instantiation: scn::v4::impl::reader_impl_for_monostate<char>::skip_ws_before_read() const Unexecuted instantiation: scn::v4::impl::reader_impl_for_monostate<wchar_t>::skip_ws_before_read() const |
3185 | | |
3186 | | static scan_expected<void> check_specs(const detail::format_specs&) |
3187 | 0 | { |
3188 | 0 | SCN_EXPECT(false); |
3189 | 0 | SCN_UNREACHABLE; |
3190 | 0 | } Unexecuted instantiation: scn::v4::impl::reader_impl_for_monostate<char>::check_specs(scn::v4::detail::format_specs const&) Unexecuted instantiation: scn::v4::impl::reader_impl_for_monostate<wchar_t>::check_specs(scn::v4::detail::format_specs const&) |
3191 | | |
3192 | | template <typename Range> |
3193 | | auto read_default(Range, monostate&, detail::locale_ref) |
3194 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3195 | 0 | { |
3196 | 0 | SCN_EXPECT(false); |
3197 | 0 | SCN_UNREACHABLE; |
3198 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_9monostateENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_9monostateENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_9monostateENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_9monostateENS9_10locale_refE |
3199 | | |
3200 | | template <typename Range> |
3201 | | auto read_specs(Range, |
3202 | | const detail::format_specs&, |
3203 | | monostate&, |
3204 | | detail::locale_ref) |
3205 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3206 | 0 | { |
3207 | 0 | SCN_EXPECT(false); |
3208 | 0 | SCN_UNREACHABLE; |
3209 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_9monostateENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_9monostateENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_9monostateENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_9monostateENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_9monostateENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_9monostateENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_9monostateENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_9monostateENS9_10locale_refE |
3210 | | }; |
3211 | | |
3212 | | ///////////////////////////////////////////////////////////////// |
3213 | | // Numeric reader support |
3214 | | ///////////////////////////////////////////////////////////////// |
3215 | | |
3216 | | enum class sign_type { default_sign = -1, minus_sign = 0, plus_sign = 1 }; |
3217 | | |
3218 | | inline constexpr std::array<uint8_t, 256> char_to_int_table = { |
3219 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3220 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3221 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3222 | | 255, 255, 255, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 255, 255, |
3223 | | 255, 255, 255, 255, 255, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, |
3224 | | 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, |
3225 | | 35, 255, 255, 255, 255, 255, 255, 10, 11, 12, 13, 14, 15, 16, 17, |
3226 | | 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, |
3227 | | 33, 34, 35, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3228 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3229 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3230 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3231 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3232 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3233 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3234 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3235 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3236 | | 255}; |
3237 | | |
3238 | | SCN_NODISCARD SCN_FORCE_INLINE constexpr uint8_t char_to_int(char ch) |
3239 | 14.9k | { |
3240 | 14.9k | return char_to_int_table[static_cast<unsigned char>(ch)]; |
3241 | 14.9k | } |
3242 | | SCN_NODISCARD SCN_FORCE_INLINE constexpr uint8_t char_to_int(wchar_t ch) |
3243 | 6.24k | { |
3244 | 6.24k | #if WCHAR_MIN < 0 |
3245 | 6.24k | if (ch >= 0 && ch <= 255) { |
3246 | | #else |
3247 | | if (ch <= 255) { |
3248 | | #endif |
3249 | 6.24k | return char_to_int(static_cast<char>(ch)); |
3250 | 6.24k | } |
3251 | 0 | return 255; |
3252 | 6.24k | } |
3253 | | |
3254 | | template <typename Range> |
3255 | | auto parse_numeric_sign(Range range) |
3256 | | -> eof_expected<std::pair<ranges::const_iterator_t<Range>, sign_type>> |
3257 | 8.50k | { |
3258 | 8.50k | auto r = read_one_of_code_unit(range, "+-"); |
3259 | 8.50k | if (!r) { |
3260 | 8.50k | if (r.error() == parse_error::error) { |
3261 | 8.50k | return std::pair{range.begin(), sign_type::default_sign}; |
3262 | 8.50k | } |
3263 | 0 | return unexpected(eof_error::eof); |
3264 | 8.50k | } |
3265 | | |
3266 | 0 | auto& it = *r; |
3267 | 0 | if (*range.begin() == '-') { |
3268 | 0 | return std::pair{it, sign_type::minus_sign}; |
3269 | 0 | } |
3270 | 0 | return std::pair{it, sign_type::plus_sign}; |
3271 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESJ_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESH_ _ZN3scn2v44impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESG_ Line | Count | Source | 3257 | 1.33k | { | 3258 | 1.33k | auto r = read_one_of_code_unit(range, "+-"); | 3259 | 1.33k | if (!r) { | 3260 | 1.33k | if (r.error() == parse_error::error) { | 3261 | 1.33k | return std::pair{range.begin(), sign_type::default_sign}; | 3262 | 1.33k | } | 3263 | 0 | return unexpected(eof_error::eof); | 3264 | 1.33k | } | 3265 | | | 3266 | 0 | auto& it = *r; | 3267 | 0 | if (*range.begin() == '-') { | 3268 | 0 | return std::pair{it, sign_type::minus_sign}; | 3269 | 0 | } | 3270 | 0 | return std::pair{it, sign_type::plus_sign}; | 3271 | 0 | } |
_ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESE_ Line | Count | Source | 3257 | 3.61k | { | 3258 | 3.61k | auto r = read_one_of_code_unit(range, "+-"); | 3259 | 3.61k | if (!r) { | 3260 | 3.61k | if (r.error() == parse_error::error) { | 3261 | 3.61k | return std::pair{range.begin(), sign_type::default_sign}; | 3262 | 3.61k | } | 3263 | 0 | return unexpected(eof_error::eof); | 3264 | 3.61k | } | 3265 | | | 3266 | 0 | auto& it = *r; | 3267 | 0 | if (*range.begin() == '-') { | 3268 | 0 | return std::pair{it, sign_type::minus_sign}; | 3269 | 0 | } | 3270 | 0 | return std::pair{it, sign_type::plus_sign}; | 3271 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESP_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESM_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESJ_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESH_ _ZN3scn2v44impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESG_ Line | Count | Source | 3257 | 546 | { | 3258 | 546 | auto r = read_one_of_code_unit(range, "+-"); | 3259 | 546 | if (!r) { | 3260 | 546 | if (r.error() == parse_error::error) { | 3261 | 546 | return std::pair{range.begin(), sign_type::default_sign}; | 3262 | 546 | } | 3263 | 0 | return unexpected(eof_error::eof); | 3264 | 546 | } | 3265 | | | 3266 | 0 | auto& it = *r; | 3267 | 0 | if (*range.begin() == '-') { | 3268 | 0 | return std::pair{it, sign_type::minus_sign}; | 3269 | 0 | } | 3270 | 0 | return std::pair{it, sign_type::plus_sign}; | 3271 | 0 | } |
_ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESE_ Line | Count | Source | 3257 | 3.01k | { | 3258 | 3.01k | auto r = read_one_of_code_unit(range, "+-"); | 3259 | 3.01k | if (!r) { | 3260 | 3.01k | if (r.error() == parse_error::error) { | 3261 | 3.01k | return std::pair{range.begin(), sign_type::default_sign}; | 3262 | 3.01k | } | 3263 | 0 | return unexpected(eof_error::eof); | 3264 | 3.01k | } | 3265 | | | 3266 | 0 | auto& it = *r; | 3267 | 0 | if (*range.begin() == '-') { | 3268 | 0 | return std::pair{it, sign_type::minus_sign}; | 3269 | 0 | } | 3270 | 0 | return std::pair{it, sign_type::plus_sign}; | 3271 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESP_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESM_ |
3272 | | |
3273 | | template <typename CharT> |
3274 | | class numeric_reader { |
3275 | | public: |
3276 | | contiguous_range_factory<CharT> m_buffer{}; |
3277 | | }; |
3278 | | |
3279 | | ///////////////////////////////////////////////////////////////// |
3280 | | // Integer reader |
3281 | | ///////////////////////////////////////////////////////////////// |
3282 | | |
3283 | | template <typename Iterator> |
3284 | | struct parse_integer_prefix_result { |
3285 | | SCN_NO_UNIQUE_ADDRESS Iterator iterator; |
3286 | | int parsed_base{0}; |
3287 | | sign_type sign{sign_type::default_sign}; |
3288 | | bool is_zero{false}; |
3289 | | }; |
3290 | | |
3291 | | template <typename Range> |
3292 | | auto parse_integer_bin_base_prefix(Range range) |
3293 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3294 | 118 | { |
3295 | 118 | return read_matching_string_classic_nocase(range, "0b"); |
3296 | 118 | } Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3294 | 40 | { | 3295 | 40 | return read_matching_string_classic_nocase(range, "0b"); | 3296 | 40 | } |
_ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3294 | 22 | { | 3295 | 22 | return read_matching_string_classic_nocase(range, "0b"); | 3296 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3294 | 28 | { | 3295 | 28 | return read_matching_string_classic_nocase(range, "0b"); | 3296 | 28 | } |
_ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3294 | 28 | { | 3295 | 28 | return read_matching_string_classic_nocase(range, "0b"); | 3296 | 28 | } |
|
3297 | | |
3298 | | template <typename Range> |
3299 | | auto parse_integer_hex_base_prefix(Range range) |
3300 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3301 | 2.15k | { |
3302 | 2.15k | return read_matching_string_classic_nocase(range, "0x"); |
3303 | 2.15k | } Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3301 | 348 | { | 3302 | 348 | return read_matching_string_classic_nocase(range, "0x"); | 3303 | 348 | } |
_ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3301 | 904 | { | 3302 | 904 | return read_matching_string_classic_nocase(range, "0x"); | 3303 | 904 | } |
Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3301 | 142 | { | 3302 | 142 | return read_matching_string_classic_nocase(range, "0x"); | 3303 | 142 | } |
_ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3301 | 758 | { | 3302 | 758 | return read_matching_string_classic_nocase(range, "0x"); | 3303 | 758 | } |
|
3304 | | |
3305 | | template <typename Range> |
3306 | | auto parse_integer_oct_base_prefix(Range range, bool& zero_parsed) |
3307 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3308 | 152 | { |
3309 | 152 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { |
3310 | 0 | return *r; |
3311 | 0 | } |
3312 | | |
3313 | 152 | if (auto r = read_matching_code_unit(range, '0')) { |
3314 | 0 | zero_parsed = true; |
3315 | 0 | return *r; |
3316 | 0 | } |
3317 | | |
3318 | 152 | return unexpected(parse_error::error); |
3319 | 152 | } Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_Rb Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_Rb Line | Count | Source | 3308 | 40 | { | 3309 | 40 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3310 | 0 | return *r; | 3311 | 0 | } | 3312 | | | 3313 | 40 | if (auto r = read_matching_code_unit(range, '0')) { | 3314 | 0 | zero_parsed = true; | 3315 | 0 | return *r; | 3316 | 0 | } | 3317 | | | 3318 | 40 | return unexpected(parse_error::error); | 3319 | 40 | } |
_ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_Rb Line | Count | Source | 3308 | 42 | { | 3309 | 42 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3310 | 0 | return *r; | 3311 | 0 | } | 3312 | | | 3313 | 42 | if (auto r = read_matching_code_unit(range, '0')) { | 3314 | 0 | zero_parsed = true; | 3315 | 0 | return *r; | 3316 | 0 | } | 3317 | | | 3318 | 42 | return unexpected(parse_error::error); | 3319 | 42 | } |
Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_Rb Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_Rb Line | Count | Source | 3308 | 44 | { | 3309 | 44 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3310 | 0 | return *r; | 3311 | 0 | } | 3312 | | | 3313 | 44 | if (auto r = read_matching_code_unit(range, '0')) { | 3314 | 0 | zero_parsed = true; | 3315 | 0 | return *r; | 3316 | 0 | } | 3317 | | | 3318 | 44 | return unexpected(parse_error::error); | 3319 | 44 | } |
_ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_Rb Line | Count | Source | 3308 | 26 | { | 3309 | 26 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3310 | 0 | return *r; | 3311 | 0 | } | 3312 | | | 3313 | 26 | if (auto r = read_matching_code_unit(range, '0')) { | 3314 | 0 | zero_parsed = true; | 3315 | 0 | return *r; | 3316 | 0 | } | 3317 | | | 3318 | 26 | return unexpected(parse_error::error); | 3319 | 26 | } |
|
3320 | | |
3321 | | template <typename Range> |
3322 | | auto parse_integer_base_prefix_for_detection(Range range) |
3323 | | -> std::tuple<ranges::const_iterator_t<Range>, int, bool> |
3324 | 80 | { |
3325 | 80 | if (auto r = parse_integer_hex_base_prefix(range)) { |
3326 | 0 | return {*r, 16, false}; |
3327 | 0 | } |
3328 | 80 | if (auto r = parse_integer_bin_base_prefix(range)) { |
3329 | 0 | return {*r, 2, false}; |
3330 | 0 | } |
3331 | 80 | { |
3332 | 80 | bool zero_parsed{false}; |
3333 | 80 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { |
3334 | 0 | return {*r, 8, zero_parsed}; |
3335 | 0 | } |
3336 | 80 | } |
3337 | 80 | return {range.begin(), 10, false}; |
3338 | 80 | } Unexecuted instantiation: _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_ Unexecuted instantiation: _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_ _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_ Line | Count | Source | 3324 | 26 | { | 3325 | 26 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3326 | 0 | return {*r, 16, false}; | 3327 | 0 | } | 3328 | 26 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3329 | 0 | return {*r, 2, false}; | 3330 | 0 | } | 3331 | 26 | { | 3332 | 26 | bool zero_parsed{false}; | 3333 | 26 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3334 | 0 | return {*r, 8, zero_parsed}; | 3335 | 0 | } | 3336 | 26 | } | 3337 | 26 | return {range.begin(), 10, false}; | 3338 | 26 | } |
_ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_ Line | Count | Source | 3324 | 16 | { | 3325 | 16 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3326 | 0 | return {*r, 16, false}; | 3327 | 0 | } | 3328 | 16 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3329 | 0 | return {*r, 2, false}; | 3330 | 0 | } | 3331 | 16 | { | 3332 | 16 | bool zero_parsed{false}; | 3333 | 16 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3334 | 0 | return {*r, 8, zero_parsed}; | 3335 | 0 | } | 3336 | 16 | } | 3337 | 16 | return {range.begin(), 10, false}; | 3338 | 16 | } |
Unexecuted instantiation: _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_ Unexecuted instantiation: _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_ _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_ Line | Count | Source | 3324 | 22 | { | 3325 | 22 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3326 | 0 | return {*r, 16, false}; | 3327 | 0 | } | 3328 | 22 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3329 | 0 | return {*r, 2, false}; | 3330 | 0 | } | 3331 | 22 | { | 3332 | 22 | bool zero_parsed{false}; | 3333 | 22 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3334 | 0 | return {*r, 8, zero_parsed}; | 3335 | 0 | } | 3336 | 22 | } | 3337 | 22 | return {range.begin(), 10, false}; | 3338 | 22 | } |
_ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_ Line | Count | Source | 3324 | 16 | { | 3325 | 16 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3326 | 0 | return {*r, 16, false}; | 3327 | 0 | } | 3328 | 16 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3329 | 0 | return {*r, 2, false}; | 3330 | 0 | } | 3331 | 16 | { | 3332 | 16 | bool zero_parsed{false}; | 3333 | 16 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3334 | 0 | return {*r, 8, zero_parsed}; | 3335 | 0 | } | 3336 | 16 | } | 3337 | 16 | return {range.begin(), 10, false}; | 3338 | 16 | } |
|
3339 | | |
3340 | | template <typename Range> |
3341 | | auto parse_integer_base_prefix(Range range, int base) |
3342 | | -> std::tuple<ranges::const_iterator_t<Range>, int, bool> |
3343 | 6.39k | { |
3344 | 6.39k | switch (base) { |
3345 | 38 | case 2: |
3346 | | // allow 0b/0B |
3347 | 38 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, |
3348 | 38 | false}; |
3349 | | |
3350 | 72 | case 8: { |
3351 | | // allow 0o/0O/0 |
3352 | 72 | bool zero_parsed = false; |
3353 | 72 | auto it = apply_opt( |
3354 | 72 | parse_integer_oct_base_prefix(range, zero_parsed), range); |
3355 | 72 | return {it, 8, zero_parsed}; |
3356 | 0 | } |
3357 | | |
3358 | 2.07k | case 16: |
3359 | | // allow 0x/0X |
3360 | 2.07k | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, |
3361 | 2.07k | false}; |
3362 | | |
3363 | 80 | case 0: |
3364 | | // detect base |
3365 | 80 | return parse_integer_base_prefix_for_detection(range); |
3366 | | |
3367 | 4.13k | default: |
3368 | | // no base prefix allowed |
3369 | 4.13k | return {range.begin(), base, false}; |
3370 | 6.39k | } |
3371 | 6.39k | } Unexecuted instantiation: _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_i Unexecuted instantiation: _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_i _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_i Line | Count | Source | 3343 | 1.00k | { | 3344 | 1.00k | switch (base) { | 3345 | 14 | case 2: | 3346 | | // allow 0b/0B | 3347 | 14 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3348 | 14 | false}; | 3349 | | | 3350 | 14 | case 8: { | 3351 | | // allow 0o/0O/0 | 3352 | 14 | bool zero_parsed = false; | 3353 | 14 | auto it = apply_opt( | 3354 | 14 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3355 | 14 | return {it, 8, zero_parsed}; | 3356 | 0 | } | 3357 | | | 3358 | 322 | case 16: | 3359 | | // allow 0x/0X | 3360 | 322 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3361 | 322 | false}; | 3362 | | | 3363 | 26 | case 0: | 3364 | | // detect base | 3365 | 26 | return parse_integer_base_prefix_for_detection(range); | 3366 | | | 3367 | 626 | default: | 3368 | | // no base prefix allowed | 3369 | 626 | return {range.begin(), base, false}; | 3370 | 1.00k | } | 3371 | 1.00k | } |
_ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_i Line | Count | Source | 3343 | 2.70k | { | 3344 | 2.70k | switch (base) { | 3345 | 6 | case 2: | 3346 | | // allow 0b/0B | 3347 | 6 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3348 | 6 | false}; | 3349 | | | 3350 | 26 | case 8: { | 3351 | | // allow 0o/0O/0 | 3352 | 26 | bool zero_parsed = false; | 3353 | 26 | auto it = apply_opt( | 3354 | 26 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3355 | 26 | return {it, 8, zero_parsed}; | 3356 | 0 | } | 3357 | | | 3358 | 888 | case 16: | 3359 | | // allow 0x/0X | 3360 | 888 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3361 | 888 | false}; | 3362 | | | 3363 | 16 | case 0: | 3364 | | // detect base | 3365 | 16 | return parse_integer_base_prefix_for_detection(range); | 3366 | | | 3367 | 1.77k | default: | 3368 | | // no base prefix allowed | 3369 | 1.77k | return {range.begin(), base, false}; | 3370 | 2.70k | } | 3371 | 2.70k | } |
Unexecuted instantiation: _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_i Unexecuted instantiation: _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_i _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_i Line | Count | Source | 3343 | 418 | { | 3344 | 418 | switch (base) { | 3345 | 6 | case 2: | 3346 | | // allow 0b/0B | 3347 | 6 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3348 | 6 | false}; | 3349 | | | 3350 | 22 | case 8: { | 3351 | | // allow 0o/0O/0 | 3352 | 22 | bool zero_parsed = false; | 3353 | 22 | auto it = apply_opt( | 3354 | 22 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3355 | 22 | return {it, 8, zero_parsed}; | 3356 | 0 | } | 3357 | | | 3358 | 120 | case 16: | 3359 | | // allow 0x/0X | 3360 | 120 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3361 | 120 | false}; | 3362 | | | 3363 | 22 | case 0: | 3364 | | // detect base | 3365 | 22 | return parse_integer_base_prefix_for_detection(range); | 3366 | | | 3367 | 248 | default: | 3368 | | // no base prefix allowed | 3369 | 248 | return {range.begin(), base, false}; | 3370 | 418 | } | 3371 | 418 | } |
_ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_i Line | Count | Source | 3343 | 2.26k | { | 3344 | 2.26k | switch (base) { | 3345 | 12 | case 2: | 3346 | | // allow 0b/0B | 3347 | 12 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3348 | 12 | false}; | 3349 | | | 3350 | 10 | case 8: { | 3351 | | // allow 0o/0O/0 | 3352 | 10 | bool zero_parsed = false; | 3353 | 10 | auto it = apply_opt( | 3354 | 10 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3355 | 10 | return {it, 8, zero_parsed}; | 3356 | 0 | } | 3357 | | | 3358 | 742 | case 16: | 3359 | | // allow 0x/0X | 3360 | 742 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3361 | 742 | false}; | 3362 | | | 3363 | 16 | case 0: | 3364 | | // detect base | 3365 | 16 | return parse_integer_base_prefix_for_detection(range); | 3366 | | | 3367 | 1.48k | default: | 3368 | | // no base prefix allowed | 3369 | 1.48k | return {range.begin(), base, false}; | 3370 | 2.26k | } | 3371 | 2.26k | } |
|
3372 | | |
3373 | | template <typename Range> |
3374 | | auto parse_integer_prefix(Range range, int base) -> eof_expected< |
3375 | | parse_integer_prefix_result<ranges::const_iterator_t<Range>>> |
3376 | 6.39k | { |
3377 | 6.39k | SCN_TRY(sign_result, parse_numeric_sign(range)); |
3378 | 6.39k | auto [base_prefix_begin_it, sign] = sign_result; |
3379 | | |
3380 | 6.39k | auto [digits_begin_it, parsed_base, parsed_zero] = |
3381 | 6.39k | parse_integer_base_prefix( |
3382 | 6.39k | ranges::subrange{base_prefix_begin_it, range.end()}, base); |
3383 | | |
3384 | 6.39k | if (parsed_zero) { |
3385 | 0 | if (digits_begin_it == range.end() || |
3386 | 0 | char_to_int(*digits_begin_it) >= 8) { |
3387 | 0 | digits_begin_it = base_prefix_begin_it; |
3388 | 0 | } |
3389 | 0 | else { |
3390 | 0 | parsed_zero = false; |
3391 | 0 | } |
3392 | 0 | } |
3393 | 6.39k | else { |
3394 | 6.39k | if (digits_begin_it == range.end() || |
3395 | 6.39k | char_to_int(*digits_begin_it) >= parsed_base) { |
3396 | 6.39k | digits_begin_it = base_prefix_begin_it; |
3397 | 6.39k | } |
3398 | 6.39k | } |
3399 | | |
3400 | 6.39k | if (sign == sign_type::default_sign) { |
3401 | 6.39k | sign = sign_type::plus_sign; |
3402 | 6.39k | } |
3403 | 6.39k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ |
3404 | 6.39k | digits_begin_it, parsed_base, sign, parsed_zero}; |
3405 | 6.39k | } Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESJ_i Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESH_i _ZN3scn2v44impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESG_i Line | Count | Source | 3376 | 1.00k | { | 3377 | 1.00k | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3378 | 1.00k | auto [base_prefix_begin_it, sign] = sign_result; | 3379 | | | 3380 | 1.00k | auto [digits_begin_it, parsed_base, parsed_zero] = | 3381 | 1.00k | parse_integer_base_prefix( | 3382 | 1.00k | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3383 | | | 3384 | 1.00k | if (parsed_zero) { | 3385 | 0 | if (digits_begin_it == range.end() || | 3386 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3387 | 0 | digits_begin_it = base_prefix_begin_it; | 3388 | 0 | } | 3389 | 0 | else { | 3390 | 0 | parsed_zero = false; | 3391 | 0 | } | 3392 | 0 | } | 3393 | 1.00k | else { | 3394 | 1.00k | if (digits_begin_it == range.end() || | 3395 | 1.00k | char_to_int(*digits_begin_it) >= parsed_base) { | 3396 | 1.00k | digits_begin_it = base_prefix_begin_it; | 3397 | 1.00k | } | 3398 | 1.00k | } | 3399 | | | 3400 | 1.00k | if (sign == sign_type::default_sign) { | 3401 | 1.00k | sign = sign_type::plus_sign; | 3402 | 1.00k | } | 3403 | 1.00k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3404 | 1.00k | digits_begin_it, parsed_base, sign, parsed_zero}; | 3405 | 1.00k | } |
_ZN3scn2v44impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESE_i Line | Count | Source | 3376 | 2.70k | { | 3377 | 2.70k | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3378 | 2.70k | auto [base_prefix_begin_it, sign] = sign_result; | 3379 | | | 3380 | 2.70k | auto [digits_begin_it, parsed_base, parsed_zero] = | 3381 | 2.70k | parse_integer_base_prefix( | 3382 | 2.70k | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3383 | | | 3384 | 2.70k | if (parsed_zero) { | 3385 | 0 | if (digits_begin_it == range.end() || | 3386 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3387 | 0 | digits_begin_it = base_prefix_begin_it; | 3388 | 0 | } | 3389 | 0 | else { | 3390 | 0 | parsed_zero = false; | 3391 | 0 | } | 3392 | 0 | } | 3393 | 2.70k | else { | 3394 | 2.70k | if (digits_begin_it == range.end() || | 3395 | 2.70k | char_to_int(*digits_begin_it) >= parsed_base) { | 3396 | 2.70k | digits_begin_it = base_prefix_begin_it; | 3397 | 2.70k | } | 3398 | 2.70k | } | 3399 | | | 3400 | 2.70k | if (sign == sign_type::default_sign) { | 3401 | 2.70k | sign = sign_type::plus_sign; | 3402 | 2.70k | } | 3403 | 2.70k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3404 | 2.70k | digits_begin_it, parsed_base, sign, parsed_zero}; | 3405 | 2.70k | } |
Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESJ_i Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESH_i _ZN3scn2v44impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESG_i Line | Count | Source | 3376 | 418 | { | 3377 | 418 | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3378 | 418 | auto [base_prefix_begin_it, sign] = sign_result; | 3379 | | | 3380 | 418 | auto [digits_begin_it, parsed_base, parsed_zero] = | 3381 | 418 | parse_integer_base_prefix( | 3382 | 418 | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3383 | | | 3384 | 418 | if (parsed_zero) { | 3385 | 0 | if (digits_begin_it == range.end() || | 3386 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3387 | 0 | digits_begin_it = base_prefix_begin_it; | 3388 | 0 | } | 3389 | 0 | else { | 3390 | 0 | parsed_zero = false; | 3391 | 0 | } | 3392 | 0 | } | 3393 | 418 | else { | 3394 | 418 | if (digits_begin_it == range.end() || | 3395 | 418 | char_to_int(*digits_begin_it) >= parsed_base) { | 3396 | 418 | digits_begin_it = base_prefix_begin_it; | 3397 | 418 | } | 3398 | 418 | } | 3399 | | | 3400 | 418 | if (sign == sign_type::default_sign) { | 3401 | 418 | sign = sign_type::plus_sign; | 3402 | 418 | } | 3403 | 418 | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3404 | 418 | digits_begin_it, parsed_base, sign, parsed_zero}; | 3405 | 418 | } |
_ZN3scn2v44impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESE_i Line | Count | Source | 3376 | 2.26k | { | 3377 | 2.26k | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3378 | 2.26k | auto [base_prefix_begin_it, sign] = sign_result; | 3379 | | | 3380 | 2.26k | auto [digits_begin_it, parsed_base, parsed_zero] = | 3381 | 2.26k | parse_integer_base_prefix( | 3382 | 2.26k | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3383 | | | 3384 | 2.26k | if (parsed_zero) { | 3385 | 0 | if (digits_begin_it == range.end() || | 3386 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3387 | 0 | digits_begin_it = base_prefix_begin_it; | 3388 | 0 | } | 3389 | 0 | else { | 3390 | 0 | parsed_zero = false; | 3391 | 0 | } | 3392 | 0 | } | 3393 | 2.26k | else { | 3394 | 2.26k | if (digits_begin_it == range.end() || | 3395 | 2.26k | char_to_int(*digits_begin_it) >= parsed_base) { | 3396 | 2.26k | digits_begin_it = base_prefix_begin_it; | 3397 | 2.26k | } | 3398 | 2.26k | } | 3399 | | | 3400 | 2.26k | if (sign == sign_type::default_sign) { | 3401 | 2.26k | sign = sign_type::plus_sign; | 3402 | 2.26k | } | 3403 | 2.26k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3404 | 2.26k | digits_begin_it, parsed_base, sign, parsed_zero}; | 3405 | 2.26k | } |
|
3406 | | |
3407 | | template <typename Range> |
3408 | | auto parse_integer_digits_without_thsep(Range range, int base) |
3409 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3410 | 6.29k | { |
3411 | 6.29k | using char_type = detail::char_t<Range>; |
3412 | | |
3413 | 6.29k | if constexpr (ranges::contiguous_range<Range>) { |
3414 | 4.92k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
3415 | 0 | return detail::unexpected_scan_error( |
3416 | 0 | scan_error::invalid_scanned_value, |
3417 | 0 | "Failed to parse integer: No digits found"); |
3418 | 0 | } |
3419 | 4.92k | return range.end(); |
3420 | | } |
3421 | 1.36k | else { |
3422 | 1.36k | return read_while1_code_unit(range, |
3423 | 1.36k | [&](char_type ch) noexcept { |
3424 | 1.36k | return char_to_int(ch) < base; |
3425 | 1.36k | }) Unexecuted instantiation: _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_iENKUlcE_clEc _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_iENKUlcE_clEc Line | Count | Source | 3423 | 982 | [&](char_type ch) noexcept { | 3424 | 982 | return char_to_int(ch) < base; | 3425 | 982 | }) |
Unexecuted instantiation: _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_iENKUlwE_clEw _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_iENKUlwE_clEw Line | Count | Source | 3423 | 382 | [&](char_type ch) noexcept { | 3424 | 382 | return char_to_int(ch) < base; | 3425 | 382 | }) |
|
3426 | 1.36k | .transform_error(map_parse_error_to_scan_error( |
3427 | 1.36k | scan_error::invalid_scanned_value, |
3428 | 1.36k | "Failed to parse integer: No digits found")); |
3429 | 1.36k | } |
3430 | 6.29k | } Unexecuted instantiation: _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_i Unexecuted instantiation: _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_i _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_i Line | Count | Source | 3410 | 982 | { | 3411 | 982 | using char_type = detail::char_t<Range>; | 3412 | | | 3413 | | if constexpr (ranges::contiguous_range<Range>) { | 3414 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3415 | | return detail::unexpected_scan_error( | 3416 | | scan_error::invalid_scanned_value, | 3417 | | "Failed to parse integer: No digits found"); | 3418 | | } | 3419 | | return range.end(); | 3420 | | } | 3421 | 982 | else { | 3422 | 982 | return read_while1_code_unit(range, | 3423 | 982 | [&](char_type ch) noexcept { | 3424 | 982 | return char_to_int(ch) < base; | 3425 | 982 | }) | 3426 | 982 | .transform_error(map_parse_error_to_scan_error( | 3427 | 982 | scan_error::invalid_scanned_value, | 3428 | 982 | "Failed to parse integer: No digits found")); | 3429 | 982 | } | 3430 | 982 | } |
_ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_i Line | Count | Source | 3410 | 2.68k | { | 3411 | 2.68k | using char_type = detail::char_t<Range>; | 3412 | | | 3413 | 2.68k | if constexpr (ranges::contiguous_range<Range>) { | 3414 | 2.68k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3415 | 0 | return detail::unexpected_scan_error( | 3416 | 0 | scan_error::invalid_scanned_value, | 3417 | 0 | "Failed to parse integer: No digits found"); | 3418 | 0 | } | 3419 | 2.68k | return range.end(); | 3420 | | } | 3421 | | else { | 3422 | | return read_while1_code_unit(range, | 3423 | | [&](char_type ch) noexcept { | 3424 | | return char_to_int(ch) < base; | 3425 | | }) | 3426 | | .transform_error(map_parse_error_to_scan_error( | 3427 | | scan_error::invalid_scanned_value, | 3428 | | "Failed to parse integer: No digits found")); | 3429 | | } | 3430 | 2.68k | } |
Unexecuted instantiation: _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_i Unexecuted instantiation: _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_i _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_i Line | Count | Source | 3410 | 382 | { | 3411 | 382 | using char_type = detail::char_t<Range>; | 3412 | | | 3413 | | if constexpr (ranges::contiguous_range<Range>) { | 3414 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3415 | | return detail::unexpected_scan_error( | 3416 | | scan_error::invalid_scanned_value, | 3417 | | "Failed to parse integer: No digits found"); | 3418 | | } | 3419 | | return range.end(); | 3420 | | } | 3421 | 382 | else { | 3422 | 382 | return read_while1_code_unit(range, | 3423 | 382 | [&](char_type ch) noexcept { | 3424 | 382 | return char_to_int(ch) < base; | 3425 | 382 | }) | 3426 | 382 | .transform_error(map_parse_error_to_scan_error( | 3427 | 382 | scan_error::invalid_scanned_value, | 3428 | 382 | "Failed to parse integer: No digits found")); | 3429 | 382 | } | 3430 | 382 | } |
_ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_i Line | Count | Source | 3410 | 2.24k | { | 3411 | 2.24k | using char_type = detail::char_t<Range>; | 3412 | | | 3413 | 2.24k | if constexpr (ranges::contiguous_range<Range>) { | 3414 | 2.24k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3415 | 0 | return detail::unexpected_scan_error( | 3416 | 0 | scan_error::invalid_scanned_value, | 3417 | 0 | "Failed to parse integer: No digits found"); | 3418 | 0 | } | 3419 | 2.24k | return range.end(); | 3420 | | } | 3421 | | else { | 3422 | | return read_while1_code_unit(range, | 3423 | | [&](char_type ch) noexcept { | 3424 | | return char_to_int(ch) < base; | 3425 | | }) | 3426 | | .transform_error(map_parse_error_to_scan_error( | 3427 | | scan_error::invalid_scanned_value, | 3428 | | "Failed to parse integer: No digits found")); | 3429 | | } | 3430 | 2.24k | } |
|
3431 | | |
3432 | | template <typename Range, typename CharT> |
3433 | | auto parse_integer_digits_with_thsep( |
3434 | | Range range, |
3435 | | int base, |
3436 | | const localized_number_formatting_options<CharT>& locale_options) |
3437 | | -> scan_expected<std::tuple<ranges::const_iterator_t<Range>, |
3438 | | std::basic_string<CharT>, |
3439 | | std::string>> |
3440 | 104 | { |
3441 | 104 | std::basic_string<CharT> output; |
3442 | 104 | std::string thsep_indices; |
3443 | 104 | auto it = range.begin(); |
3444 | 104 | bool digit_matched = false; |
3445 | 104 | for (; it != range.end(); ++it) { |
3446 | 104 | if (*it == locale_options.thousands_sep) { |
3447 | 0 | thsep_indices.push_back( |
3448 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); |
3449 | 0 | } |
3450 | 104 | else if (char_to_int(*it) >= base) { |
3451 | 104 | break; |
3452 | 104 | } |
3453 | 0 | else { |
3454 | 0 | output.push_back(*it); |
3455 | 0 | digit_matched = true; |
3456 | 0 | } |
3457 | 104 | } |
3458 | 104 | if (SCN_UNLIKELY(!digit_matched)) { |
3459 | 104 | return detail::unexpected_scan_error( |
3460 | 104 | scan_error::invalid_scanned_value, |
3461 | 104 | "Failed to parse integer: No digits found"); |
3462 | 104 | } |
3463 | 0 | return std::tuple{it, output, thsep_indices}; |
3464 | 104 | } Unexecuted instantiation: _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENSM_12basic_stringIT0_NSM_11char_traitsISV_EENSM_9allocatorISV_EEEENSU_IcNSW_IcEENSY_IcEEEEEEEEESP_iRKNS1_35localized_number_formatting_optionsISV_EE Unexecuted instantiation: _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEENSM_IcNSO_IcEENSQ_IcEEEEEEEEESH_iRKNS1_35localized_number_formatting_optionsISN_EE _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEENSR_IcNST_IcEENSV_IcEEEEEEEEESM_iRKNS1_35localized_number_formatting_optionsISS_EE Line | Count | Source | 3440 | 20 | { | 3441 | 20 | std::basic_string<CharT> output; | 3442 | 20 | std::string thsep_indices; | 3443 | 20 | auto it = range.begin(); | 3444 | 20 | bool digit_matched = false; | 3445 | 20 | for (; it != range.end(); ++it) { | 3446 | 20 | if (*it == locale_options.thousands_sep) { | 3447 | 0 | thsep_indices.push_back( | 3448 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3449 | 0 | } | 3450 | 20 | else if (char_to_int(*it) >= base) { | 3451 | 20 | break; | 3452 | 20 | } | 3453 | 0 | else { | 3454 | 0 | output.push_back(*it); | 3455 | 0 | digit_matched = true; | 3456 | 0 | } | 3457 | 20 | } | 3458 | 20 | if (SCN_UNLIKELY(!digit_matched)) { | 3459 | 20 | return detail::unexpected_scan_error( | 3460 | 20 | scan_error::invalid_scanned_value, | 3461 | 20 | "Failed to parse integer: No digits found"); | 3462 | 20 | } | 3463 | 0 | return std::tuple{it, output, thsep_indices}; | 3464 | 20 | } |
_ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENSB_12basic_stringIT0_NSB_11char_traitsISK_EENSB_9allocatorISK_EEEENSJ_IcNSL_IcEENSN_IcEEEEEEEEESE_iRKNS1_35localized_number_formatting_optionsISK_EE Line | Count | Source | 3440 | 20 | { | 3441 | 20 | std::basic_string<CharT> output; | 3442 | 20 | std::string thsep_indices; | 3443 | 20 | auto it = range.begin(); | 3444 | 20 | bool digit_matched = false; | 3445 | 20 | for (; it != range.end(); ++it) { | 3446 | 20 | if (*it == locale_options.thousands_sep) { | 3447 | 0 | thsep_indices.push_back( | 3448 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3449 | 0 | } | 3450 | 20 | else if (char_to_int(*it) >= base) { | 3451 | 20 | break; | 3452 | 20 | } | 3453 | 0 | else { | 3454 | 0 | output.push_back(*it); | 3455 | 0 | digit_matched = true; | 3456 | 0 | } | 3457 | 20 | } | 3458 | 20 | if (SCN_UNLIKELY(!digit_matched)) { | 3459 | 20 | return detail::unexpected_scan_error( | 3460 | 20 | scan_error::invalid_scanned_value, | 3461 | 20 | "Failed to parse integer: No digits found"); | 3462 | 20 | } | 3463 | 0 | return std::tuple{it, output, thsep_indices}; | 3464 | 20 | } |
Unexecuted instantiation: _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENSM_12basic_stringIT0_NSM_11char_traitsISV_EENSM_9allocatorISV_EEEENSU_IcNSW_IcEENSY_IcEEEEEEEEESP_iRKNS1_35localized_number_formatting_optionsISV_EE Unexecuted instantiation: _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEENSM_IcNSO_IcEENSQ_IcEEEEEEEEESH_iRKNS1_35localized_number_formatting_optionsISN_EE _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEENSR_IcNST_IcEENSV_IcEEEEEEEEESM_iRKNS1_35localized_number_formatting_optionsISS_EE Line | Count | Source | 3440 | 36 | { | 3441 | 36 | std::basic_string<CharT> output; | 3442 | 36 | std::string thsep_indices; | 3443 | 36 | auto it = range.begin(); | 3444 | 36 | bool digit_matched = false; | 3445 | 36 | for (; it != range.end(); ++it) { | 3446 | 36 | if (*it == locale_options.thousands_sep) { | 3447 | 0 | thsep_indices.push_back( | 3448 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3449 | 0 | } | 3450 | 36 | else if (char_to_int(*it) >= base) { | 3451 | 36 | break; | 3452 | 36 | } | 3453 | 0 | else { | 3454 | 0 | output.push_back(*it); | 3455 | 0 | digit_matched = true; | 3456 | 0 | } | 3457 | 36 | } | 3458 | 36 | if (SCN_UNLIKELY(!digit_matched)) { | 3459 | 36 | return detail::unexpected_scan_error( | 3460 | 36 | scan_error::invalid_scanned_value, | 3461 | 36 | "Failed to parse integer: No digits found"); | 3462 | 36 | } | 3463 | 0 | return std::tuple{it, output, thsep_indices}; | 3464 | 36 | } |
_ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENSB_12basic_stringIT0_NSB_11char_traitsISK_EENSB_9allocatorISK_EEEENSJ_IcNSL_IcEENSN_IcEEEEEEEEESE_iRKNS1_35localized_number_formatting_optionsISK_EE Line | Count | Source | 3440 | 28 | { | 3441 | 28 | std::basic_string<CharT> output; | 3442 | 28 | std::string thsep_indices; | 3443 | 28 | auto it = range.begin(); | 3444 | 28 | bool digit_matched = false; | 3445 | 28 | for (; it != range.end(); ++it) { | 3446 | 28 | if (*it == locale_options.thousands_sep) { | 3447 | 0 | thsep_indices.push_back( | 3448 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3449 | 0 | } | 3450 | 28 | else if (char_to_int(*it) >= base) { | 3451 | 28 | break; | 3452 | 28 | } | 3453 | 0 | else { | 3454 | 0 | output.push_back(*it); | 3455 | 0 | digit_matched = true; | 3456 | 0 | } | 3457 | 28 | } | 3458 | 28 | if (SCN_UNLIKELY(!digit_matched)) { | 3459 | 28 | return detail::unexpected_scan_error( | 3460 | 28 | scan_error::invalid_scanned_value, | 3461 | 28 | "Failed to parse integer: No digits found"); | 3462 | 28 | } | 3463 | 0 | return std::tuple{it, output, thsep_indices}; | 3464 | 28 | } |
|
3465 | | |
3466 | | template <typename CharT, typename T> |
3467 | | auto parse_integer_value(std::basic_string_view<CharT> source, |
3468 | | T& value, |
3469 | | sign_type sign, |
3470 | | int base) |
3471 | | -> scan_expected<typename std::basic_string_view<CharT>::iterator>; |
3472 | | |
3473 | | template <typename T> |
3474 | | void parse_integer_value_exhaustive_valid(std::string_view source, T& value); |
3475 | | |
3476 | | #define SCN_DECLARE_INTEGER_READER_TEMPLATE(CharT, IntT) \ |
3477 | | extern template auto parse_integer_value( \ |
3478 | | std::basic_string_view<CharT> source, IntT& value, sign_type sign, \ |
3479 | | int base) \ |
3480 | | -> scan_expected<typename std::basic_string_view<CharT>::iterator>; \ |
3481 | | extern template void parse_integer_value_exhaustive_valid( \ |
3482 | | std::string_view, IntT&); |
3483 | | |
3484 | | #if !SCN_DISABLE_TYPE_SCHAR |
3485 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, signed char) |
3486 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, signed char) |
3487 | | #endif |
3488 | | #if !SCN_DISABLE_TYPE_SHORT |
3489 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, short) |
3490 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, short) |
3491 | | #endif |
3492 | | #if !SCN_DISABLE_TYPE_INT |
3493 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, int) |
3494 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, int) |
3495 | | #endif |
3496 | | #if !SCN_DISABLE_TYPE_LONG |
3497 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, long) |
3498 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, long) |
3499 | | #endif |
3500 | | #if !SCN_DISABLE_TYPE_LONG_LONG |
3501 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, long long) |
3502 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, long long) |
3503 | | #endif |
3504 | | #if !SCN_DISABLE_TYPE_UCHAR |
3505 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned char) |
3506 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned char) |
3507 | | #endif |
3508 | | #if !SCN_DISABLE_TYPE_USHORT |
3509 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned short) |
3510 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned short) |
3511 | | #endif |
3512 | | #if !SCN_DISABLE_TYPE_UINT |
3513 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned int) |
3514 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned int) |
3515 | | #endif |
3516 | | #if !SCN_DISABLE_TYPE_ULONG |
3517 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned long) |
3518 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned long) |
3519 | | #endif |
3520 | | #if !SCN_DISABLE_TYPE_ULONG_LONG |
3521 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned long long) |
3522 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned long long) |
3523 | | #endif |
3524 | | |
3525 | | #undef SCN_DECLARE_INTEGER_READER_TEMPLATE |
3526 | | |
3527 | | template <typename CharT> |
3528 | | class reader_impl_for_int |
3529 | | : public reader_base<reader_impl_for_int<CharT>, CharT> { |
3530 | | public: |
3531 | | constexpr reader_impl_for_int() = default; |
3532 | | |
3533 | | void check_specs_impl(const detail::format_specs& specs, |
3534 | | reader_error_handler& eh) |
3535 | 6.37k | { |
3536 | 6.37k | detail::check_int_type_specs(specs, eh); |
3537 | 6.37k | } scn::v4::impl::reader_impl_for_int<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 3535 | 4.66k | { | 3536 | 4.66k | detail::check_int_type_specs(specs, eh); | 3537 | 4.66k | } |
scn::v4::impl::reader_impl_for_int<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 3535 | 1.70k | { | 3536 | 1.70k | detail::check_int_type_specs(specs, eh); | 3537 | 1.70k | } |
|
3538 | | |
3539 | | template <typename Range, typename T> |
3540 | | auto read_default_with_base(Range range, T& value, int base) |
3541 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3542 | 2.12k | { |
3543 | 2.12k | SCN_TRY(prefix_result, parse_integer_prefix(range, base) |
3544 | 2.12k | .transform_error(make_eof_scan_error)); |
3545 | | |
3546 | 2.12k | if constexpr (!std::is_signed_v<T>) { |
3547 | 1.06k | if (prefix_result.sign == sign_type::minus_sign) { |
3548 | 0 | return detail::unexpected_scan_error( |
3549 | 0 | scan_error::invalid_scanned_value, |
3550 | 0 | "Unexpected '-' sign when parsing an " |
3551 | 0 | "unsigned value"); |
3552 | 0 | } |
3553 | 1.06k | } |
3554 | | |
3555 | 2.12k | if (prefix_result.is_zero) { |
3556 | 0 | value = T{0}; |
3557 | 0 | return std::next(prefix_result.iterator); |
3558 | 0 | } |
3559 | | |
3560 | 4.25k | SCN_TRY(after_digits_it, |
3561 | 4.25k | parse_integer_digits_without_thsep( |
3562 | 4.25k | ranges::subrange{prefix_result.iterator, range.end()}, |
3563 | 4.25k | prefix_result.parsed_base)); |
3564 | | |
3565 | 4.25k | auto buf = make_contiguous_buffer( |
3566 | 4.25k | ranges::subrange{prefix_result.iterator, after_digits_it}); |
3567 | 4.25k | SCN_TRY(result_it, |
3568 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, |
3569 | 0 | prefix_result.parsed_base)); |
3570 | |
|
3571 | 0 | return ranges::next(prefix_result.iterator, |
3572 | 0 | ranges::distance(buf.view().begin(), result_it)); |
3573 | 4.25k | } Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3542 | 436 | { | 3543 | 436 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3544 | 436 | .transform_error(make_eof_scan_error)); | 3545 | | | 3546 | | if constexpr (!std::is_signed_v<T>) { | 3547 | | if (prefix_result.sign == sign_type::minus_sign) { | 3548 | | return detail::unexpected_scan_error( | 3549 | | scan_error::invalid_scanned_value, | 3550 | | "Unexpected '-' sign when parsing an " | 3551 | | "unsigned value"); | 3552 | | } | 3553 | | } | 3554 | | | 3555 | 436 | if (prefix_result.is_zero) { | 3556 | 0 | value = T{0}; | 3557 | 0 | return std::next(prefix_result.iterator); | 3558 | 0 | } | 3559 | | | 3560 | 872 | SCN_TRY(after_digits_it, | 3561 | 872 | parse_integer_digits_without_thsep( | 3562 | 872 | ranges::subrange{prefix_result.iterator, range.end()}, | 3563 | 872 | prefix_result.parsed_base)); | 3564 | | | 3565 | 872 | auto buf = make_contiguous_buffer( | 3566 | 872 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3567 | 872 | SCN_TRY(result_it, | 3568 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3569 | 0 | prefix_result.parsed_base)); | 3570 | |
| 3571 | 0 | return ranges::next(prefix_result.iterator, | 3572 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3573 | 872 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3542 | 436 | { | 3543 | 436 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3544 | 436 | .transform_error(make_eof_scan_error)); | 3545 | | | 3546 | 436 | if constexpr (!std::is_signed_v<T>) { | 3547 | 436 | if (prefix_result.sign == sign_type::minus_sign) { | 3548 | 0 | return detail::unexpected_scan_error( | 3549 | 0 | scan_error::invalid_scanned_value, | 3550 | 0 | "Unexpected '-' sign when parsing an " | 3551 | 0 | "unsigned value"); | 3552 | 0 | } | 3553 | 436 | } | 3554 | | | 3555 | 436 | if (prefix_result.is_zero) { | 3556 | 0 | value = T{0}; | 3557 | 0 | return std::next(prefix_result.iterator); | 3558 | 0 | } | 3559 | | | 3560 | 872 | SCN_TRY(after_digits_it, | 3561 | 872 | parse_integer_digits_without_thsep( | 3562 | 872 | ranges::subrange{prefix_result.iterator, range.end()}, | 3563 | 872 | prefix_result.parsed_base)); | 3564 | | | 3565 | 872 | auto buf = make_contiguous_buffer( | 3566 | 872 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3567 | 872 | SCN_TRY(result_it, | 3568 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3569 | 0 | prefix_result.parsed_base)); | 3570 | |
| 3571 | 0 | return ranges::next(prefix_result.iterator, | 3572 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3573 | 872 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3542 | 628 | { | 3543 | 628 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3544 | 628 | .transform_error(make_eof_scan_error)); | 3545 | | | 3546 | | if constexpr (!std::is_signed_v<T>) { | 3547 | | if (prefix_result.sign == sign_type::minus_sign) { | 3548 | | return detail::unexpected_scan_error( | 3549 | | scan_error::invalid_scanned_value, | 3550 | | "Unexpected '-' sign when parsing an " | 3551 | | "unsigned value"); | 3552 | | } | 3553 | | } | 3554 | | | 3555 | 628 | if (prefix_result.is_zero) { | 3556 | 0 | value = T{0}; | 3557 | 0 | return std::next(prefix_result.iterator); | 3558 | 0 | } | 3559 | | | 3560 | 1.25k | SCN_TRY(after_digits_it, | 3561 | 1.25k | parse_integer_digits_without_thsep( | 3562 | 1.25k | ranges::subrange{prefix_result.iterator, range.end()}, | 3563 | 1.25k | prefix_result.parsed_base)); | 3564 | | | 3565 | 1.25k | auto buf = make_contiguous_buffer( | 3566 | 1.25k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3567 | 1.25k | SCN_TRY(result_it, | 3568 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3569 | 0 | prefix_result.parsed_base)); | 3570 | |
| 3571 | 0 | return ranges::next(prefix_result.iterator, | 3572 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3573 | 1.25k | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3542 | 628 | { | 3543 | 628 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3544 | 628 | .transform_error(make_eof_scan_error)); | 3545 | | | 3546 | 628 | if constexpr (!std::is_signed_v<T>) { | 3547 | 628 | if (prefix_result.sign == sign_type::minus_sign) { | 3548 | 0 | return detail::unexpected_scan_error( | 3549 | 0 | scan_error::invalid_scanned_value, | 3550 | 0 | "Unexpected '-' sign when parsing an " | 3551 | 0 | "unsigned value"); | 3552 | 0 | } | 3553 | 628 | } | 3554 | | | 3555 | 628 | if (prefix_result.is_zero) { | 3556 | 0 | value = T{0}; | 3557 | 0 | return std::next(prefix_result.iterator); | 3558 | 0 | } | 3559 | | | 3560 | 1.25k | SCN_TRY(after_digits_it, | 3561 | 1.25k | parse_integer_digits_without_thsep( | 3562 | 1.25k | ranges::subrange{prefix_result.iterator, range.end()}, | 3563 | 1.25k | prefix_result.parsed_base)); | 3564 | | | 3565 | 1.25k | auto buf = make_contiguous_buffer( | 3566 | 1.25k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3567 | 1.25k | SCN_TRY(result_it, | 3568 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3569 | 0 | prefix_result.parsed_base)); | 3570 | |
| 3571 | 0 | return ranges::next(prefix_result.iterator, | 3572 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3573 | 1.25k | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i |
3574 | | |
3575 | | template <typename Range, typename T> |
3576 | | auto read_default(Range range, T& value, detail::locale_ref loc) |
3577 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3578 | 2.12k | { |
3579 | 2.12k | SCN_UNUSED(loc); |
3580 | 2.12k | return read_default_with_base(range, value, 10); |
3581 | 2.12k | } Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3578 | 628 | { | 3579 | 628 | SCN_UNUSED(loc); | 3580 | 628 | return read_default_with_base(range, value, 10); | 3581 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3578 | 628 | { | 3579 | 628 | SCN_UNUSED(loc); | 3580 | 628 | return read_default_with_base(range, value, 10); | 3581 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3578 | 436 | { | 3579 | 436 | SCN_UNUSED(loc); | 3580 | 436 | return read_default_with_base(range, value, 10); | 3581 | 436 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3578 | 436 | { | 3579 | 436 | SCN_UNUSED(loc); | 3580 | 436 | return read_default_with_base(range, value, 10); | 3581 | 436 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE |
3582 | | |
3583 | | template <typename Range, typename T> |
3584 | | auto read_specs(Range range, |
3585 | | const detail::format_specs& specs, |
3586 | | T& value, |
3587 | | detail::locale_ref loc) |
3588 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3589 | 4.26k | { |
3590 | 4.26k | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) |
3591 | 4.26k | .transform_error(make_eof_scan_error)); |
3592 | | |
3593 | 4.26k | if (prefix_result.sign == sign_type::minus_sign) { |
3594 | 0 | if constexpr (!std::is_signed_v<T>) { |
3595 | 0 | return detail::unexpected_scan_error( |
3596 | 0 | scan_error::invalid_scanned_value, |
3597 | 0 | "Unexpected '-' sign when parsing an " |
3598 | 0 | "unsigned value"); |
3599 | | } |
3600 | 0 | else { |
3601 | 0 | if (specs.type == |
3602 | 0 | detail::presentation_type::int_unsigned_decimal) { |
3603 | 0 | return detail::unexpected_scan_error( |
3604 | 0 | scan_error::invalid_scanned_value, |
3605 | 0 | "'u'-option disallows negative values"); |
3606 | 0 | } |
3607 | 0 | } |
3608 | 0 | } |
3609 | | |
3610 | 4.26k | if (prefix_result.is_zero) { |
3611 | 0 | value = T{0}; |
3612 | 0 | return std::next(prefix_result.iterator); |
3613 | 0 | } |
3614 | | |
3615 | 4.26k | if (SCN_LIKELY(!specs.localized)) { |
3616 | 4.16k | SCN_TRY(after_digits_it, |
3617 | 2.79k | parse_integer_digits_without_thsep( |
3618 | 2.79k | ranges::subrange{prefix_result.iterator, range.end()}, |
3619 | 2.79k | prefix_result.parsed_base)); |
3620 | | |
3621 | 2.79k | auto buf = make_contiguous_buffer( |
3622 | 2.79k | ranges::subrange{prefix_result.iterator, after_digits_it}); |
3623 | 2.79k | SCN_TRY(result_it, |
3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, |
3625 | 0 | prefix_result.parsed_base)); |
3626 | |
|
3627 | 0 | return ranges::next( |
3628 | 0 | prefix_result.iterator, |
3629 | 0 | ranges::distance(buf.view().begin(), result_it)); |
3630 | 2.79k | } |
3631 | | |
3632 | 104 | auto locale_options = |
3633 | | #if SCN_DISABLE_LOCALE |
3634 | | localized_number_formatting_options<CharT>{}; |
3635 | | #else |
3636 | 104 | localized_number_formatting_options<CharT>{loc}; |
3637 | 104 | #endif |
3638 | | |
3639 | 104 | SCN_TRY(parse_digits_result, |
3640 | 0 | parse_integer_digits_with_thsep( |
3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, |
3642 | 0 | prefix_result.parsed_base, locale_options)); |
3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = |
3644 | 0 | parse_digits_result; |
3645 | |
|
3646 | 0 | auto nothsep_source_view = |
3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; |
3648 | 0 | SCN_TRY( |
3649 | 0 | nothsep_source_it, |
3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, |
3651 | 0 | prefix_result.parsed_base)); |
3652 | |
|
3653 | 0 | return ranges::next( |
3654 | 0 | prefix_result.iterator, |
3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + |
3656 | 0 | ranges::ssize(thsep_indices)); |
3657 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 34 | { | 3590 | 34 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 34 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 34 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | | if constexpr (!std::is_signed_v<T>) { | 3595 | | return detail::unexpected_scan_error( | 3596 | | scan_error::invalid_scanned_value, | 3597 | | "Unexpected '-' sign when parsing an " | 3598 | | "unsigned value"); | 3599 | | } | 3600 | 0 | else { | 3601 | 0 | if (specs.type == | 3602 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3603 | 0 | return detail::unexpected_scan_error( | 3604 | 0 | scan_error::invalid_scanned_value, | 3605 | 0 | "'u'-option disallows negative values"); | 3606 | 0 | } | 3607 | 0 | } | 3608 | 0 | } | 3609 | | | 3610 | 34 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 34 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 34 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 0 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 0 | localized_number_formatting_options<CharT>{loc}; | 3637 | 0 | #endif | 3638 | |
| 3639 | 0 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 22 | { | 3590 | 22 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 22 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 22 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | | if constexpr (!std::is_signed_v<T>) { | 3595 | | return detail::unexpected_scan_error( | 3596 | | scan_error::invalid_scanned_value, | 3597 | | "Unexpected '-' sign when parsing an " | 3598 | | "unsigned value"); | 3599 | | } | 3600 | 0 | else { | 3601 | 0 | if (specs.type == | 3602 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3603 | 0 | return detail::unexpected_scan_error( | 3604 | 0 | scan_error::invalid_scanned_value, | 3605 | 0 | "'u'-option disallows negative values"); | 3606 | 0 | } | 3607 | 0 | } | 3608 | 0 | } | 3609 | | | 3610 | 22 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 22 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 22 | SCN_TRY(after_digits_it, | 3617 | 22 | parse_integer_digits_without_thsep( | 3618 | 22 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 22 | prefix_result.parsed_base)); | 3620 | | | 3621 | 22 | auto buf = make_contiguous_buffer( | 3622 | 22 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 22 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 22 | } | 3631 | | | 3632 | 0 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 0 | localized_number_formatting_options<CharT>{loc}; | 3637 | 0 | #endif | 3638 | |
| 3639 | 0 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 334 | { | 3590 | 334 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 334 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 334 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | | if constexpr (!std::is_signed_v<T>) { | 3595 | | return detail::unexpected_scan_error( | 3596 | | scan_error::invalid_scanned_value, | 3597 | | "Unexpected '-' sign when parsing an " | 3598 | | "unsigned value"); | 3599 | | } | 3600 | 0 | else { | 3601 | 0 | if (specs.type == | 3602 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3603 | 0 | return detail::unexpected_scan_error( | 3604 | 0 | scan_error::invalid_scanned_value, | 3605 | 0 | "'u'-option disallows negative values"); | 3606 | 0 | } | 3607 | 0 | } | 3608 | 0 | } | 3609 | | | 3610 | 334 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 334 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 324 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 10 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 10 | localized_number_formatting_options<CharT>{loc}; | 3637 | 10 | #endif | 3638 | | | 3639 | 10 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 276 | { | 3590 | 276 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 276 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 276 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | | if constexpr (!std::is_signed_v<T>) { | 3595 | | return detail::unexpected_scan_error( | 3596 | | scan_error::invalid_scanned_value, | 3597 | | "Unexpected '-' sign when parsing an " | 3598 | | "unsigned value"); | 3599 | | } | 3600 | 0 | else { | 3601 | 0 | if (specs.type == | 3602 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3603 | 0 | return detail::unexpected_scan_error( | 3604 | 0 | scan_error::invalid_scanned_value, | 3605 | 0 | "'u'-option disallows negative values"); | 3606 | 0 | } | 3607 | 0 | } | 3608 | 0 | } | 3609 | | | 3610 | 276 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 276 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 266 | SCN_TRY(after_digits_it, | 3617 | 266 | parse_integer_digits_without_thsep( | 3618 | 266 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 266 | prefix_result.parsed_base)); | 3620 | | | 3621 | 266 | auto buf = make_contiguous_buffer( | 3622 | 266 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 266 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 266 | } | 3631 | | | 3632 | 10 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 10 | localized_number_formatting_options<CharT>{loc}; | 3637 | 10 | #endif | 3638 | | | 3639 | 10 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 334 | { | 3590 | 334 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 334 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 334 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 334 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 334 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 324 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 10 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 10 | localized_number_formatting_options<CharT>{loc}; | 3637 | 10 | #endif | 3638 | | | 3639 | 10 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 276 | { | 3590 | 276 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 276 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 276 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 276 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 276 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 266 | SCN_TRY(after_digits_it, | 3617 | 266 | parse_integer_digits_without_thsep( | 3618 | 266 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 266 | prefix_result.parsed_base)); | 3620 | | | 3621 | 266 | auto buf = make_contiguous_buffer( | 3622 | 266 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 266 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 266 | } | 3631 | | | 3632 | 10 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 10 | localized_number_formatting_options<CharT>{loc}; | 3637 | 10 | #endif | 3638 | | | 3639 | 10 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 300 | { | 3590 | 300 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 300 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 300 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 300 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 300 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 300 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 0 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 0 | localized_number_formatting_options<CharT>{loc}; | 3637 | 0 | #endif | 3638 | |
| 3639 | 0 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 876 | { | 3590 | 876 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 876 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 876 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 876 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 876 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 876 | SCN_TRY(after_digits_it, | 3617 | 876 | parse_integer_digits_without_thsep( | 3618 | 876 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 876 | prefix_result.parsed_base)); | 3620 | | | 3621 | 876 | auto buf = make_contiguous_buffer( | 3622 | 876 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 876 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 876 | } | 3631 | | | 3632 | 0 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 0 | localized_number_formatting_options<CharT>{loc}; | 3637 | 0 | #endif | 3638 | |
| 3639 | 0 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 164 | { | 3590 | 164 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 164 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 164 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | | if constexpr (!std::is_signed_v<T>) { | 3595 | | return detail::unexpected_scan_error( | 3596 | | scan_error::invalid_scanned_value, | 3597 | | "Unexpected '-' sign when parsing an " | 3598 | | "unsigned value"); | 3599 | | } | 3600 | 0 | else { | 3601 | 0 | if (specs.type == | 3602 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3603 | 0 | return detail::unexpected_scan_error( | 3604 | 0 | scan_error::invalid_scanned_value, | 3605 | 0 | "'u'-option disallows negative values"); | 3606 | 0 | } | 3607 | 0 | } | 3608 | 0 | } | 3609 | | | 3610 | 164 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 164 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 146 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 18 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 18 | localized_number_formatting_options<CharT>{loc}; | 3637 | 18 | #endif | 3638 | | | 3639 | 18 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 346 | { | 3590 | 346 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 346 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 346 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | | if constexpr (!std::is_signed_v<T>) { | 3595 | | return detail::unexpected_scan_error( | 3596 | | scan_error::invalid_scanned_value, | 3597 | | "Unexpected '-' sign when parsing an " | 3598 | | "unsigned value"); | 3599 | | } | 3600 | 0 | else { | 3601 | 0 | if (specs.type == | 3602 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3603 | 0 | return detail::unexpected_scan_error( | 3604 | 0 | scan_error::invalid_scanned_value, | 3605 | 0 | "'u'-option disallows negative values"); | 3606 | 0 | } | 3607 | 0 | } | 3608 | 0 | } | 3609 | | | 3610 | 346 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 346 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 332 | SCN_TRY(after_digits_it, | 3617 | 332 | parse_integer_digits_without_thsep( | 3618 | 332 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 332 | prefix_result.parsed_base)); | 3620 | | | 3621 | 332 | auto buf = make_contiguous_buffer( | 3622 | 332 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 332 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 332 | } | 3631 | | | 3632 | 14 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 14 | localized_number_formatting_options<CharT>{loc}; | 3637 | 14 | #endif | 3638 | | | 3639 | 14 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 144 | { | 3590 | 144 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 144 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 144 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 144 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 144 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 126 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 18 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 18 | localized_number_formatting_options<CharT>{loc}; | 3637 | 18 | #endif | 3638 | | | 3639 | 18 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 324 | { | 3590 | 324 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 324 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 324 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 324 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 324 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 310 | SCN_TRY(after_digits_it, | 3617 | 310 | parse_integer_digits_without_thsep( | 3618 | 310 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 310 | prefix_result.parsed_base)); | 3620 | | | 3621 | 310 | auto buf = make_contiguous_buffer( | 3622 | 310 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 310 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 310 | } | 3631 | | | 3632 | 14 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 14 | localized_number_formatting_options<CharT>{loc}; | 3637 | 14 | #endif | 3638 | | | 3639 | 14 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3589 | 110 | { | 3590 | 110 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 110 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 110 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 110 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 110 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 110 | SCN_TRY(after_digits_it, | 3617 | 0 | parse_integer_digits_without_thsep( | 3618 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 0 | prefix_result.parsed_base)); | 3620 | |
| 3621 | 0 | auto buf = make_contiguous_buffer( | 3622 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 0 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 0 | } | 3631 | | | 3632 | 0 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 0 | localized_number_formatting_options<CharT>{loc}; | 3637 | 0 | #endif | 3638 | |
| 3639 | 0 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3589 | 726 | { | 3590 | 726 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3591 | 726 | .transform_error(make_eof_scan_error)); | 3592 | | | 3593 | 726 | if (prefix_result.sign == sign_type::minus_sign) { | 3594 | 0 | if constexpr (!std::is_signed_v<T>) { | 3595 | 0 | return detail::unexpected_scan_error( | 3596 | 0 | scan_error::invalid_scanned_value, | 3597 | 0 | "Unexpected '-' sign when parsing an " | 3598 | 0 | "unsigned value"); | 3599 | | } | 3600 | | else { | 3601 | | if (specs.type == | 3602 | | detail::presentation_type::int_unsigned_decimal) { | 3603 | | return detail::unexpected_scan_error( | 3604 | | scan_error::invalid_scanned_value, | 3605 | | "'u'-option disallows negative values"); | 3606 | | } | 3607 | | } | 3608 | 0 | } | 3609 | | | 3610 | 726 | if (prefix_result.is_zero) { | 3611 | 0 | value = T{0}; | 3612 | 0 | return std::next(prefix_result.iterator); | 3613 | 0 | } | 3614 | | | 3615 | 726 | if (SCN_LIKELY(!specs.localized)) { | 3616 | 726 | SCN_TRY(after_digits_it, | 3617 | 726 | parse_integer_digits_without_thsep( | 3618 | 726 | ranges::subrange{prefix_result.iterator, range.end()}, | 3619 | 726 | prefix_result.parsed_base)); | 3620 | | | 3621 | 726 | auto buf = make_contiguous_buffer( | 3622 | 726 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3623 | 726 | SCN_TRY(result_it, | 3624 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3625 | 0 | prefix_result.parsed_base)); | 3626 | |
| 3627 | 0 | return ranges::next( | 3628 | 0 | prefix_result.iterator, | 3629 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3630 | 726 | } | 3631 | | | 3632 | 0 | auto locale_options = | 3633 | | #if SCN_DISABLE_LOCALE | 3634 | | localized_number_formatting_options<CharT>{}; | 3635 | | #else | 3636 | 0 | localized_number_formatting_options<CharT>{loc}; | 3637 | 0 | #endif | 3638 | |
| 3639 | 0 | SCN_TRY(parse_digits_result, | 3640 | 0 | parse_integer_digits_with_thsep( | 3641 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3642 | 0 | prefix_result.parsed_base, locale_options)); | 3643 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3644 | 0 | parse_digits_result; | 3645 | |
| 3646 | 0 | auto nothsep_source_view = | 3647 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3648 | 0 | SCN_TRY( | 3649 | 0 | nothsep_source_it, | 3650 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | return ranges::next( | 3654 | 0 | prefix_result.iterator, | 3655 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3656 | 0 | ranges::ssize(thsep_indices)); | 3657 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE |
3658 | | }; |
3659 | | |
3660 | | ///////////////////////////////////////////////////////////////// |
3661 | | // Floating-point reader |
3662 | | ///////////////////////////////////////////////////////////////// |
3663 | | |
3664 | | struct float_reader_base { |
3665 | | enum options_type { |
3666 | | allow_hex = 1, |
3667 | | allow_scientific = 2, |
3668 | | allow_fixed = 4, |
3669 | | allow_thsep = 8 |
3670 | | }; |
3671 | | |
3672 | | enum class float_kind { |
3673 | | tbd = 0, |
3674 | | generic, // fixed or scientific |
3675 | | fixed, // xxx.yyy |
3676 | | scientific, // xxx.yyyEzzz |
3677 | | hex_without_prefix, // xxx.yyypzzz |
3678 | | hex_with_prefix, // 0Xxxx.yyypzzz |
3679 | | inf_short, // inf |
3680 | | inf_long, // infinity |
3681 | | nan_simple, // nan |
3682 | | nan_with_payload, // nan(xxx) |
3683 | | }; |
3684 | | |
3685 | 1.06k | constexpr float_reader_base() = default; |
3686 | 1.05k | explicit constexpr float_reader_base(unsigned opt) : m_options(opt) {} |
3687 | | |
3688 | | protected: |
3689 | | unsigned m_options{allow_hex | allow_scientific | allow_fixed}; |
3690 | | }; |
3691 | | |
3692 | | template <typename CharT> |
3693 | | class float_reader : public numeric_reader<CharT>, public float_reader_base { |
3694 | | using numeric_base = numeric_reader<CharT>; |
3695 | | |
3696 | | public: |
3697 | | using char_type = CharT; |
3698 | | |
3699 | 1.06k | constexpr float_reader() = default; scn::v4::impl::float_reader<char>::float_reader() Line | Count | Source | 3699 | 628 | constexpr float_reader() = default; |
scn::v4::impl::float_reader<wchar_t>::float_reader() Line | Count | Source | 3699 | 436 | constexpr float_reader() = default; |
|
3700 | | |
3701 | 1.05k | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {}scn::v4::impl::float_reader<char>::float_reader(unsigned int) Line | Count | Source | 3701 | 612 | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {} |
scn::v4::impl::float_reader<wchar_t>::float_reader(unsigned int) Line | Count | Source | 3701 | 438 | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {} |
|
3702 | | |
3703 | | template <typename Range> |
3704 | | SCN_NODISCARD auto read_source(Range range, detail::locale_ref) |
3705 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3706 | 2.08k | { |
3707 | 2.08k | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { |
3708 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ |
3709 | 0 | classic_with_thsep_tag{}}; |
3710 | 0 | } |
3711 | | |
3712 | 2.08k | return read_source_impl(range); |
3713 | 2.08k | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE11read_sourceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v44impl12float_readerIcE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3706 | 328 | { | 3707 | 328 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3708 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3709 | 0 | classic_with_thsep_tag{}}; | 3710 | 0 | } | 3711 | | | 3712 | 328 | return read_source_impl(range); | 3713 | 328 | } |
_ZN3scn2v44impl12float_readerIcE11read_sourceINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3706 | 898 | { | 3707 | 898 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3708 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3709 | 0 | classic_with_thsep_tag{}}; | 3710 | 0 | } | 3711 | | | 3712 | 898 | return read_source_impl(range); | 3713 | 898 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE11read_sourceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v44impl12float_readerIwE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3706 | 120 | { | 3707 | 120 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3708 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3709 | 0 | classic_with_thsep_tag{}}; | 3710 | 0 | } | 3711 | | | 3712 | 120 | return read_source_impl(range); | 3713 | 120 | } |
_ZN3scn2v44impl12float_readerIwE11read_sourceINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3706 | 740 | { | 3707 | 740 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3708 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3709 | 0 | classic_with_thsep_tag{}}; | 3710 | 0 | } | 3711 | | | 3712 | 740 | return read_source_impl(range); | 3713 | 740 | } |
|
3714 | | |
3715 | | #if !SCN_DISABLE_LOCALE |
3716 | | template <typename Range> |
3717 | | SCN_NODISCARD auto read_source_localized(Range range, |
3718 | | detail::locale_ref loc) |
3719 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3720 | 28 | { |
3721 | 28 | m_locale_options = localized_number_formatting_options<CharT>{loc}; |
3722 | 28 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { |
3723 | 0 | m_locale_options.thousands_sep = CharT{0}; |
3724 | 0 | } |
3725 | | |
3726 | 28 | return read_source_impl(range); |
3727 | 28 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v44impl12float_readerIcE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3720 | 8 | { | 3721 | 8 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3722 | 8 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3723 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3724 | 0 | } | 3725 | | | 3726 | 8 | return read_source_impl(range); | 3727 | 8 | } |
_ZN3scn2v44impl12float_readerIcE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3720 | 6 | { | 3721 | 6 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3722 | 6 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3723 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3724 | 0 | } | 3725 | | | 3726 | 6 | return read_source_impl(range); | 3727 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v44impl12float_readerIwE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3720 | 8 | { | 3721 | 8 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3722 | 8 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3723 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3724 | 0 | } | 3725 | | | 3726 | 8 | return read_source_impl(range); | 3727 | 8 | } |
_ZN3scn2v44impl12float_readerIwE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3720 | 6 | { | 3721 | 6 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3722 | 6 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3723 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3724 | 0 | } | 3725 | | | 3726 | 6 | return read_source_impl(range); | 3727 | 6 | } |
|
3728 | | #endif |
3729 | | |
3730 | | template <typename T> |
3731 | | SCN_NODISCARD scan_expected<std::ptrdiff_t> parse_value(T& value) |
3732 | 1.62k | { |
3733 | 1.62k | SCN_EXPECT(m_kind != float_kind::tbd); |
3734 | | |
3735 | 1.62k | const std::ptrdiff_t sign_len = |
3736 | 1.62k | m_sign != sign_type::default_sign ? 1 : 0; |
3737 | | |
3738 | 1.62k | SCN_TRY(n, parse_value_impl(value)); |
3739 | 0 | return n + sign_len + ranges::ssize(m_thsep_indices); |
3740 | 1.62k | } Unexecuted instantiation: scn::v4::scan_expected<long> scn::v4::impl::float_reader<char>::parse_value<float>(float&) scn::v4::scan_expected<long> scn::v4::impl::float_reader<char>::parse_value<double>(double&) Line | Count | Source | 3732 | 882 | { | 3733 | 882 | SCN_EXPECT(m_kind != float_kind::tbd); | 3734 | | | 3735 | 882 | const std::ptrdiff_t sign_len = | 3736 | 882 | m_sign != sign_type::default_sign ? 1 : 0; | 3737 | | | 3738 | 882 | SCN_TRY(n, parse_value_impl(value)); | 3739 | 0 | return n + sign_len + ranges::ssize(m_thsep_indices); | 3740 | 882 | } |
Unexecuted instantiation: scn::v4::scan_expected<long> scn::v4::impl::float_reader<char>::parse_value<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<long> scn::v4::impl::float_reader<wchar_t>::parse_value<float>(float&) scn::v4::scan_expected<long> scn::v4::impl::float_reader<wchar_t>::parse_value<double>(double&) Line | Count | Source | 3732 | 740 | { | 3733 | 740 | SCN_EXPECT(m_kind != float_kind::tbd); | 3734 | | | 3735 | 740 | const std::ptrdiff_t sign_len = | 3736 | 740 | m_sign != sign_type::default_sign ? 1 : 0; | 3737 | | | 3738 | 740 | SCN_TRY(n, parse_value_impl(value)); | 3739 | 0 | return n + sign_len + ranges::ssize(m_thsep_indices); | 3740 | 740 | } |
Unexecuted instantiation: scn::v4::scan_expected<long> scn::v4::impl::float_reader<wchar_t>::parse_value<long double>(long double&) |
3741 | | |
3742 | | private: |
3743 | | template <typename Range> |
3744 | | auto read_source_impl(Range range) |
3745 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3746 | 2.11k | { |
3747 | 2.11k | SCN_TRY(sign_result, |
3748 | 2.11k | parse_numeric_sign(range).transform_error(make_eof_scan_error)); |
3749 | 2.11k | auto it = sign_result.first; |
3750 | 2.11k | m_sign = sign_result.second; |
3751 | | |
3752 | 2.11k | auto digits_begin = it; |
3753 | 2.11k | auto r = ranges::subrange{it, range.end()}; |
3754 | | if constexpr (ranges::contiguous_range<Range> && |
3755 | 1.65k | ranges::sized_range<Range>) { |
3756 | 1.65k | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || |
3757 | 1.65k | m_locale_options.decimal_point != CharT{'.'})) { |
3758 | 0 | SCN_TRY_ASSIGN( |
3759 | 0 | it, |
3760 | 0 | do_read_source_impl( |
3761 | 0 | r, |
3762 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, |
3763 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); |
3764 | 0 | } |
3765 | 1.65k | else { |
3766 | 1.65k | auto cb = [&](const auto& rr) |
3767 | 1.65k | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { |
3768 | 1.62k | auto res = read_all(rr); |
3769 | 1.62k | if (SCN_UNLIKELY(res == r.begin())) { |
3770 | 0 | return detail::unexpected_scan_error( |
3771 | 0 | scan_error::invalid_scanned_value, |
3772 | 0 | "Invalid float value"); |
3773 | 0 | } |
3774 | 1.62k | return res; |
3775 | 1.62k | }; _ZZN3scn2v44impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlRKSF_E1_clISB_EENSC_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSE_IDtfp_EE4typeEEEEEEESM_ Line | Count | Source | 3767 | 882 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3768 | 882 | auto res = read_all(rr); | 3769 | 882 | if (SCN_UNLIKELY(res == r.begin())) { | 3770 | 0 | return detail::unexpected_scan_error( | 3771 | 0 | scan_error::invalid_scanned_value, | 3772 | 0 | "Invalid float value"); | 3773 | 0 | } | 3774 | 882 | return res; | 3775 | 882 | }; |
_ZZN3scn2v44impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlRKSF_E1_clISB_EENSC_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSE_IDtfp_EE4typeEEEEEEESM_ Line | Count | Source | 3767 | 740 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3768 | 740 | auto res = read_all(rr); | 3769 | 740 | if (SCN_UNLIKELY(res == r.begin())) { | 3770 | 0 | return detail::unexpected_scan_error( | 3771 | 0 | scan_error::invalid_scanned_value, | 3772 | 0 | "Invalid float value"); | 3773 | 0 | } | 3774 | 740 | return res; | 3775 | 740 | }; |
|
3776 | 1.65k | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); |
3777 | 1.62k | } |
3778 | | } |
3779 | 464 | else { |
3780 | 464 | SCN_TRY_ASSIGN( |
3781 | 0 | it, |
3782 | 0 | do_read_source_impl( |
3783 | 0 | r, [&](const auto& rr) { return read_regular_float(rr); }, |
3784 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); |
3785 | 0 | } |
3786 | | |
3787 | 2.11k | SCN_EXPECT(m_kind != float_kind::tbd); |
3788 | | |
3789 | 1.62k | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && |
3790 | 1.62k | m_kind != float_kind::nan_simple && |
3791 | 1.62k | m_kind != float_kind::nan_with_payload) { |
3792 | 1.62k | this->m_buffer.assign(ranges::subrange{digits_begin, it}); |
3793 | 1.62k | } |
3794 | | |
3795 | 1.62k | handle_separators(); |
3796 | | |
3797 | 1.62k | return it; |
3798 | 2.11k | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_ Line | Count | Source | 3746 | 336 | { | 3747 | 336 | SCN_TRY(sign_result, | 3748 | 336 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3749 | 336 | auto it = sign_result.first; | 3750 | 336 | m_sign = sign_result.second; | 3751 | | | 3752 | 336 | auto digits_begin = it; | 3753 | 336 | auto r = ranges::subrange{it, range.end()}; | 3754 | | if constexpr (ranges::contiguous_range<Range> && | 3755 | | ranges::sized_range<Range>) { | 3756 | | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3757 | | m_locale_options.decimal_point != CharT{'.'})) { | 3758 | | SCN_TRY_ASSIGN( | 3759 | | it, | 3760 | | do_read_source_impl( | 3761 | | r, | 3762 | | [&](const auto& rr) { return read_regular_float(rr); }, | 3763 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3764 | | } | 3765 | | else { | 3766 | | auto cb = [&](const auto& rr) | 3767 | | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3768 | | auto res = read_all(rr); | 3769 | | if (SCN_UNLIKELY(res == r.begin())) { | 3770 | | return detail::unexpected_scan_error( | 3771 | | scan_error::invalid_scanned_value, | 3772 | | "Invalid float value"); | 3773 | | } | 3774 | | return res; | 3775 | | }; | 3776 | | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3777 | | } | 3778 | | } | 3779 | 336 | else { | 3780 | 336 | SCN_TRY_ASSIGN( | 3781 | 0 | it, | 3782 | 0 | do_read_source_impl( | 3783 | 0 | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3784 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3785 | 0 | } | 3786 | | | 3787 | 336 | SCN_EXPECT(m_kind != float_kind::tbd); | 3788 | | | 3789 | 0 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3790 | 0 | m_kind != float_kind::nan_simple && | 3791 | 0 | m_kind != float_kind::nan_with_payload) { | 3792 | 0 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3793 | 0 | } | 3794 | |
| 3795 | 0 | handle_separators(); | 3796 | |
| 3797 | 0 | return it; | 3798 | 336 | } |
_ZN3scn2v44impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3746 | 904 | { | 3747 | 904 | SCN_TRY(sign_result, | 3748 | 904 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3749 | 904 | auto it = sign_result.first; | 3750 | 904 | m_sign = sign_result.second; | 3751 | | | 3752 | 904 | auto digits_begin = it; | 3753 | 904 | auto r = ranges::subrange{it, range.end()}; | 3754 | | if constexpr (ranges::contiguous_range<Range> && | 3755 | 904 | ranges::sized_range<Range>) { | 3756 | 904 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3757 | 904 | m_locale_options.decimal_point != CharT{'.'})) { | 3758 | 0 | SCN_TRY_ASSIGN( | 3759 | 0 | it, | 3760 | 0 | do_read_source_impl( | 3761 | 0 | r, | 3762 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, | 3763 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3764 | 0 | } | 3765 | 904 | else { | 3766 | 904 | auto cb = [&](const auto& rr) | 3767 | 904 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3768 | 904 | auto res = read_all(rr); | 3769 | 904 | if (SCN_UNLIKELY(res == r.begin())) { | 3770 | 904 | return detail::unexpected_scan_error( | 3771 | 904 | scan_error::invalid_scanned_value, | 3772 | 904 | "Invalid float value"); | 3773 | 904 | } | 3774 | 904 | return res; | 3775 | 904 | }; | 3776 | 904 | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3777 | 882 | } | 3778 | | } | 3779 | | else { | 3780 | | SCN_TRY_ASSIGN( | 3781 | | it, | 3782 | | do_read_source_impl( | 3783 | | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3784 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3785 | | } | 3786 | | | 3787 | 904 | SCN_EXPECT(m_kind != float_kind::tbd); | 3788 | | | 3789 | 882 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3790 | 882 | m_kind != float_kind::nan_simple && | 3791 | 882 | m_kind != float_kind::nan_with_payload) { | 3792 | 882 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3793 | 882 | } | 3794 | | | 3795 | 882 | handle_separators(); | 3796 | | | 3797 | 882 | return it; | 3798 | 904 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_ Line | Count | Source | 3746 | 128 | { | 3747 | 128 | SCN_TRY(sign_result, | 3748 | 128 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3749 | 128 | auto it = sign_result.first; | 3750 | 128 | m_sign = sign_result.second; | 3751 | | | 3752 | 128 | auto digits_begin = it; | 3753 | 128 | auto r = ranges::subrange{it, range.end()}; | 3754 | | if constexpr (ranges::contiguous_range<Range> && | 3755 | | ranges::sized_range<Range>) { | 3756 | | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3757 | | m_locale_options.decimal_point != CharT{'.'})) { | 3758 | | SCN_TRY_ASSIGN( | 3759 | | it, | 3760 | | do_read_source_impl( | 3761 | | r, | 3762 | | [&](const auto& rr) { return read_regular_float(rr); }, | 3763 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3764 | | } | 3765 | | else { | 3766 | | auto cb = [&](const auto& rr) | 3767 | | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3768 | | auto res = read_all(rr); | 3769 | | if (SCN_UNLIKELY(res == r.begin())) { | 3770 | | return detail::unexpected_scan_error( | 3771 | | scan_error::invalid_scanned_value, | 3772 | | "Invalid float value"); | 3773 | | } | 3774 | | return res; | 3775 | | }; | 3776 | | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3777 | | } | 3778 | | } | 3779 | 128 | else { | 3780 | 128 | SCN_TRY_ASSIGN( | 3781 | 0 | it, | 3782 | 0 | do_read_source_impl( | 3783 | 0 | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3784 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3785 | 0 | } | 3786 | | | 3787 | 128 | SCN_EXPECT(m_kind != float_kind::tbd); | 3788 | | | 3789 | 0 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3790 | 0 | m_kind != float_kind::nan_simple && | 3791 | 0 | m_kind != float_kind::nan_with_payload) { | 3792 | 0 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3793 | 0 | } | 3794 | |
| 3795 | 0 | handle_separators(); | 3796 | |
| 3797 | 0 | return it; | 3798 | 128 | } |
_ZN3scn2v44impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3746 | 746 | { | 3747 | 746 | SCN_TRY(sign_result, | 3748 | 746 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3749 | 746 | auto it = sign_result.first; | 3750 | 746 | m_sign = sign_result.second; | 3751 | | | 3752 | 746 | auto digits_begin = it; | 3753 | 746 | auto r = ranges::subrange{it, range.end()}; | 3754 | | if constexpr (ranges::contiguous_range<Range> && | 3755 | 746 | ranges::sized_range<Range>) { | 3756 | 746 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3757 | 746 | m_locale_options.decimal_point != CharT{'.'})) { | 3758 | 0 | SCN_TRY_ASSIGN( | 3759 | 0 | it, | 3760 | 0 | do_read_source_impl( | 3761 | 0 | r, | 3762 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, | 3763 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3764 | 0 | } | 3765 | 746 | else { | 3766 | 746 | auto cb = [&](const auto& rr) | 3767 | 746 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3768 | 746 | auto res = read_all(rr); | 3769 | 746 | if (SCN_UNLIKELY(res == r.begin())) { | 3770 | 746 | return detail::unexpected_scan_error( | 3771 | 746 | scan_error::invalid_scanned_value, | 3772 | 746 | "Invalid float value"); | 3773 | 746 | } | 3774 | 746 | return res; | 3775 | 746 | }; | 3776 | 746 | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3777 | 740 | } | 3778 | | } | 3779 | | else { | 3780 | | SCN_TRY_ASSIGN( | 3781 | | it, | 3782 | | do_read_source_impl( | 3783 | | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3784 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3785 | | } | 3786 | | | 3787 | 746 | SCN_EXPECT(m_kind != float_kind::tbd); | 3788 | | | 3789 | 740 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3790 | 740 | m_kind != float_kind::nan_simple && | 3791 | 740 | m_kind != float_kind::nan_with_payload) { | 3792 | 740 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3793 | 740 | } | 3794 | | | 3795 | 740 | handle_separators(); | 3796 | | | 3797 | 740 | return it; | 3798 | 746 | } |
|
3799 | | |
3800 | | template <typename Range> |
3801 | | auto read_dec_digits(Range range, bool thsep_allowed) |
3802 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3803 | 480 | { |
3804 | 480 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && |
3805 | 480 | thsep_allowed)) { |
3806 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { |
3807 | 0 | return char_to_int(ch) < 10 || |
3808 | 0 | ch == m_locale_options.thousands_sep; |
3809 | 0 | }); Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE_clEw |
3810 | 0 | } |
3811 | | |
3812 | 480 | return read_while1_code_unit( |
3813 | 480 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; });Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE0_clEc _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE0_clEc Line | Count | Source | 3813 | 330 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
_ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE0_clEc Line | Count | Source | 3813 | 22 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE0_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE0_clEw _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE0_clEw Line | Count | Source | 3813 | 122 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
_ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE0_clEw Line | Count | Source | 3813 | 6 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
|
3814 | 480 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3803 | 330 | { | 3804 | 330 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3805 | 330 | thsep_allowed)) { | 3806 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3807 | 0 | return char_to_int(ch) < 10 || | 3808 | 0 | ch == m_locale_options.thousands_sep; | 3809 | 0 | }); | 3810 | 0 | } | 3811 | | | 3812 | 330 | return read_while1_code_unit( | 3813 | 330 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3814 | 330 | } |
_ZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Line | Count | Source | 3803 | 22 | { | 3804 | 22 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3805 | 22 | thsep_allowed)) { | 3806 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3807 | 0 | return char_to_int(ch) < 10 || | 3808 | 0 | ch == m_locale_options.thousands_sep; | 3809 | 0 | }); | 3810 | 0 | } | 3811 | | | 3812 | 22 | return read_while1_code_unit( | 3813 | 22 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3814 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3803 | 122 | { | 3804 | 122 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3805 | 122 | thsep_allowed)) { | 3806 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3807 | 0 | return char_to_int(ch) < 10 || | 3808 | 0 | ch == m_locale_options.thousands_sep; | 3809 | 0 | }); | 3810 | 0 | } | 3811 | | | 3812 | 122 | return read_while1_code_unit( | 3813 | 122 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3814 | 122 | } |
_ZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Line | Count | Source | 3803 | 6 | { | 3804 | 6 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3805 | 6 | thsep_allowed)) { | 3806 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3807 | 0 | return char_to_int(ch) < 10 || | 3808 | 0 | ch == m_locale_options.thousands_sep; | 3809 | 0 | }); | 3810 | 0 | } | 3811 | | | 3812 | 6 | return read_while1_code_unit( | 3813 | 6 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3814 | 6 | } |
|
3815 | | template <typename Range> |
3816 | | auto read_hex_digits(Range range, bool thsep_allowed) |
3817 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3818 | 12 | { |
3819 | 12 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && |
3820 | 12 | thsep_allowed)) { |
3821 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { |
3822 | 0 | return char_to_int(ch) < 16 || |
3823 | 0 | ch == m_locale_options.thousands_sep; |
3824 | 0 | }); Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE_clEw |
3825 | 0 | } |
3826 | | |
3827 | 12 | return read_while1_code_unit( |
3828 | 12 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; });Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE0_clEc _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE0_clEc Line | Count | Source | 3828 | 6 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); |
Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE0_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE0_clEw _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE0_clEw Line | Count | Source | 3828 | 6 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); |
Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE0_clEw |
3829 | 12 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3818 | 6 | { | 3819 | 6 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3820 | 6 | thsep_allowed)) { | 3821 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3822 | 0 | return char_to_int(ch) < 16 || | 3823 | 0 | ch == m_locale_options.thousands_sep; | 3824 | 0 | }); | 3825 | 0 | } | 3826 | | | 3827 | 6 | return read_while1_code_unit( | 3828 | 6 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); | 3829 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3818 | 6 | { | 3819 | 6 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3820 | 6 | thsep_allowed)) { | 3821 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3822 | 0 | return char_to_int(ch) < 16 || | 3823 | 0 | ch == m_locale_options.thousands_sep; | 3824 | 0 | }); | 3825 | 0 | } | 3826 | | | 3827 | 6 | return read_while1_code_unit( | 3828 | 6 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); | 3829 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b |
3830 | | template <typename Range> |
3831 | | auto read_hex_prefix(Range range) |
3832 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3833 | 2.05k | { |
3834 | 2.05k | return read_matching_string_classic_nocase(range, "0x"); |
3835 | 2.05k | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3833 | 312 | { | 3834 | 312 | return read_matching_string_classic_nocase(range, "0x"); | 3835 | 312 | } |
_ZN3scn2v44impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3833 | 882 | { | 3834 | 882 | return read_matching_string_classic_nocase(range, "0x"); | 3835 | 882 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3833 | 120 | { | 3834 | 120 | return read_matching_string_classic_nocase(range, "0x"); | 3835 | 120 | } |
_ZN3scn2v44impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3833 | 740 | { | 3834 | 740 | return read_matching_string_classic_nocase(range, "0x"); | 3835 | 740 | } |
|
3836 | | |
3837 | | template <typename Range> |
3838 | | auto read_inf(Range range) |
3839 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3840 | 2.11k | { |
3841 | 2.11k | auto it = range.begin(); |
3842 | 2.11k | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { |
3843 | 2.11k | return unexpected(r.error()); |
3844 | 2.11k | } |
3845 | 0 | else { |
3846 | 0 | it = *r; |
3847 | 0 | } |
3848 | | |
3849 | 0 | if (auto r = read_matching_string_classic_nocase( |
3850 | 0 | ranges::subrange{it, range.end()}, "inity"); |
3851 | 0 | !r) { |
3852 | 0 | m_kind = float_kind::inf_short; |
3853 | 0 | return it; |
3854 | 0 | } |
3855 | 0 | else { |
3856 | 0 | m_kind = float_kind::inf_long; |
3857 | 0 | return *r; |
3858 | 0 | } |
3859 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3840 | 336 | { | 3841 | 336 | auto it = range.begin(); | 3842 | 336 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3843 | 336 | return unexpected(r.error()); | 3844 | 336 | } | 3845 | 0 | else { | 3846 | 0 | it = *r; | 3847 | 0 | } | 3848 | | | 3849 | 0 | if (auto r = read_matching_string_classic_nocase( | 3850 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3851 | 0 | !r) { | 3852 | 0 | m_kind = float_kind::inf_short; | 3853 | 0 | return it; | 3854 | 0 | } | 3855 | 0 | else { | 3856 | 0 | m_kind = float_kind::inf_long; | 3857 | 0 | return *r; | 3858 | 0 | } | 3859 | 0 | } |
_ZN3scn2v44impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3840 | 904 | { | 3841 | 904 | auto it = range.begin(); | 3842 | 904 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3843 | 904 | return unexpected(r.error()); | 3844 | 904 | } | 3845 | 0 | else { | 3846 | 0 | it = *r; | 3847 | 0 | } | 3848 | | | 3849 | 0 | if (auto r = read_matching_string_classic_nocase( | 3850 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3851 | 0 | !r) { | 3852 | 0 | m_kind = float_kind::inf_short; | 3853 | 0 | return it; | 3854 | 0 | } | 3855 | 0 | else { | 3856 | 0 | m_kind = float_kind::inf_long; | 3857 | 0 | return *r; | 3858 | 0 | } | 3859 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3840 | 128 | { | 3841 | 128 | auto it = range.begin(); | 3842 | 128 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3843 | 128 | return unexpected(r.error()); | 3844 | 128 | } | 3845 | 0 | else { | 3846 | 0 | it = *r; | 3847 | 0 | } | 3848 | | | 3849 | 0 | if (auto r = read_matching_string_classic_nocase( | 3850 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3851 | 0 | !r) { | 3852 | 0 | m_kind = float_kind::inf_short; | 3853 | 0 | return it; | 3854 | 0 | } | 3855 | 0 | else { | 3856 | 0 | m_kind = float_kind::inf_long; | 3857 | 0 | return *r; | 3858 | 0 | } | 3859 | 0 | } |
_ZN3scn2v44impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3840 | 746 | { | 3841 | 746 | auto it = range.begin(); | 3842 | 746 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3843 | 746 | return unexpected(r.error()); | 3844 | 746 | } | 3845 | 0 | else { | 3846 | 0 | it = *r; | 3847 | 0 | } | 3848 | | | 3849 | 0 | if (auto r = read_matching_string_classic_nocase( | 3850 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3851 | 0 | !r) { | 3852 | 0 | m_kind = float_kind::inf_short; | 3853 | 0 | return it; | 3854 | 0 | } | 3855 | 0 | else { | 3856 | 0 | m_kind = float_kind::inf_long; | 3857 | 0 | return *r; | 3858 | 0 | } | 3859 | 0 | } |
|
3860 | | |
3861 | | template <typename Range> |
3862 | | auto read_nan(Range range) -> scan_expected<ranges::const_iterator_t<Range>> |
3863 | 2.11k | { |
3864 | 2.11k | auto it = range.begin(); |
3865 | 2.11k | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { |
3866 | 2.11k | return r.transform_error(map_parse_error_to_scan_error( |
3867 | 2.11k | scan_error::invalid_scanned_value, |
3868 | 2.11k | "Invalid floating-point NaN value")); |
3869 | 2.11k | } |
3870 | 0 | else { |
3871 | 0 | it = *r; |
3872 | 0 | } |
3873 | | |
3874 | 0 | if (auto r = |
3875 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); |
3876 | 0 | !r) { |
3877 | 0 | m_kind = float_kind::nan_simple; |
3878 | 0 | return it; |
3879 | 0 | } |
3880 | 0 | else { |
3881 | 0 | it = *r; |
3882 | 0 | } |
3883 | | |
3884 | 0 | auto payload_beg_it = it; |
3885 | 0 | it = read_while_code_unit( |
3886 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { |
3887 | 0 | return is_ascii_char(ch) && |
3888 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || |
3889 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); |
3890 | 0 | }); Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlwE_clEw |
3891 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); |
3892 | |
|
3893 | 0 | m_kind = float_kind::nan_with_payload; |
3894 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3895 | 0 | ')')) { |
3896 | 0 | return *r; |
3897 | 0 | } |
3898 | 0 | return detail::unexpected_scan_error( |
3899 | 0 | scan_error::invalid_scanned_value, |
3900 | 0 | "Invalid floating-point NaN payload"); |
3901 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3863 | 336 | { | 3864 | 336 | auto it = range.begin(); | 3865 | 336 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3866 | 336 | return r.transform_error(map_parse_error_to_scan_error( | 3867 | 336 | scan_error::invalid_scanned_value, | 3868 | 336 | "Invalid floating-point NaN value")); | 3869 | 336 | } | 3870 | 0 | else { | 3871 | 0 | it = *r; | 3872 | 0 | } | 3873 | | | 3874 | 0 | if (auto r = | 3875 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3876 | 0 | !r) { | 3877 | 0 | m_kind = float_kind::nan_simple; | 3878 | 0 | return it; | 3879 | 0 | } | 3880 | 0 | else { | 3881 | 0 | it = *r; | 3882 | 0 | } | 3883 | | | 3884 | 0 | auto payload_beg_it = it; | 3885 | 0 | it = read_while_code_unit( | 3886 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3887 | 0 | return is_ascii_char(ch) && | 3888 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3889 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3890 | 0 | }); | 3891 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3892 | |
| 3893 | 0 | m_kind = float_kind::nan_with_payload; | 3894 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3895 | 0 | ')')) { | 3896 | 0 | return *r; | 3897 | 0 | } | 3898 | 0 | return detail::unexpected_scan_error( | 3899 | 0 | scan_error::invalid_scanned_value, | 3900 | 0 | "Invalid floating-point NaN payload"); | 3901 | 0 | } |
_ZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3863 | 904 | { | 3864 | 904 | auto it = range.begin(); | 3865 | 904 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3866 | 904 | return r.transform_error(map_parse_error_to_scan_error( | 3867 | 904 | scan_error::invalid_scanned_value, | 3868 | 904 | "Invalid floating-point NaN value")); | 3869 | 904 | } | 3870 | 0 | else { | 3871 | 0 | it = *r; | 3872 | 0 | } | 3873 | | | 3874 | 0 | if (auto r = | 3875 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3876 | 0 | !r) { | 3877 | 0 | m_kind = float_kind::nan_simple; | 3878 | 0 | return it; | 3879 | 0 | } | 3880 | 0 | else { | 3881 | 0 | it = *r; | 3882 | 0 | } | 3883 | | | 3884 | 0 | auto payload_beg_it = it; | 3885 | 0 | it = read_while_code_unit( | 3886 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3887 | 0 | return is_ascii_char(ch) && | 3888 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3889 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3890 | 0 | }); | 3891 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3892 | |
| 3893 | 0 | m_kind = float_kind::nan_with_payload; | 3894 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3895 | 0 | ')')) { | 3896 | 0 | return *r; | 3897 | 0 | } | 3898 | 0 | return detail::unexpected_scan_error( | 3899 | 0 | scan_error::invalid_scanned_value, | 3900 | 0 | "Invalid floating-point NaN payload"); | 3901 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3863 | 128 | { | 3864 | 128 | auto it = range.begin(); | 3865 | 128 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3866 | 128 | return r.transform_error(map_parse_error_to_scan_error( | 3867 | 128 | scan_error::invalid_scanned_value, | 3868 | 128 | "Invalid floating-point NaN value")); | 3869 | 128 | } | 3870 | 0 | else { | 3871 | 0 | it = *r; | 3872 | 0 | } | 3873 | | | 3874 | 0 | if (auto r = | 3875 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3876 | 0 | !r) { | 3877 | 0 | m_kind = float_kind::nan_simple; | 3878 | 0 | return it; | 3879 | 0 | } | 3880 | 0 | else { | 3881 | 0 | it = *r; | 3882 | 0 | } | 3883 | | | 3884 | 0 | auto payload_beg_it = it; | 3885 | 0 | it = read_while_code_unit( | 3886 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3887 | 0 | return is_ascii_char(ch) && | 3888 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3889 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3890 | 0 | }); | 3891 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3892 | |
| 3893 | 0 | m_kind = float_kind::nan_with_payload; | 3894 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3895 | 0 | ')')) { | 3896 | 0 | return *r; | 3897 | 0 | } | 3898 | 0 | return detail::unexpected_scan_error( | 3899 | 0 | scan_error::invalid_scanned_value, | 3900 | 0 | "Invalid floating-point NaN payload"); | 3901 | 0 | } |
_ZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3863 | 746 | { | 3864 | 746 | auto it = range.begin(); | 3865 | 746 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3866 | 746 | return r.transform_error(map_parse_error_to_scan_error( | 3867 | 746 | scan_error::invalid_scanned_value, | 3868 | 746 | "Invalid floating-point NaN value")); | 3869 | 746 | } | 3870 | 0 | else { | 3871 | 0 | it = *r; | 3872 | 0 | } | 3873 | | | 3874 | 0 | if (auto r = | 3875 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3876 | 0 | !r) { | 3877 | 0 | m_kind = float_kind::nan_simple; | 3878 | 0 | return it; | 3879 | 0 | } | 3880 | 0 | else { | 3881 | 0 | it = *r; | 3882 | 0 | } | 3883 | | | 3884 | 0 | auto payload_beg_it = it; | 3885 | 0 | it = read_while_code_unit( | 3886 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3887 | 0 | return is_ascii_char(ch) && | 3888 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3889 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3890 | 0 | }); | 3891 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3892 | |
| 3893 | 0 | m_kind = float_kind::nan_with_payload; | 3894 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3895 | 0 | ')')) { | 3896 | 0 | return *r; | 3897 | 0 | } | 3898 | 0 | return detail::unexpected_scan_error( | 3899 | 0 | scan_error::invalid_scanned_value, | 3900 | 0 | "Invalid floating-point NaN payload"); | 3901 | 0 | } |
|
3902 | | |
3903 | | template <typename Range> |
3904 | | auto read_exponent(Range range, std::string_view exp) |
3905 | | -> ranges::const_iterator_t<Range> |
3906 | 0 | { |
3907 | 0 | if (auto r = read_one_of_code_unit(range, exp)) { |
3908 | 0 | auto beg_exp_it = range.begin(); |
3909 | 0 | auto it = *r; |
3910 | |
|
3911 | 0 | if (auto r_sign = |
3912 | 0 | parse_numeric_sign(ranges::subrange{it, range.end()})) { |
3913 | 0 | it = r_sign->first; |
3914 | 0 | } |
3915 | |
|
3916 | 0 | if (auto r_exp = read_while1_code_unit( |
3917 | 0 | ranges::subrange{it, range.end()}, |
3918 | 0 | [](char_type ch) noexcept { return char_to_int(ch) < 10; });Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEEENKUlwE_clEw |
3919 | 0 | SCN_UNLIKELY(!r_exp)) { |
3920 | 0 | it = beg_exp_it; |
3921 | 0 | } |
3922 | 0 | else { |
3923 | 0 | it = *r_exp; |
3924 | 0 | } |
3925 | |
|
3926 | 0 | return it; |
3927 | 0 | } |
3928 | 0 | return range.begin(); |
3929 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEE |
3930 | | |
3931 | | template <typename Range> |
3932 | | auto read_hexfloat(Range range) |
3933 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3934 | 12 | { |
3935 | 12 | auto it = range.begin(); |
3936 | | |
3937 | 12 | std::ptrdiff_t digits_count = 0; |
3938 | 12 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); |
3939 | 12 | SCN_UNLIKELY(!r)) { |
3940 | 12 | return r.transform_error(map_parse_error_to_scan_error( |
3941 | 12 | scan_error::invalid_scanned_value, |
3942 | 12 | "Invalid hexadecimal floating-point value")); |
3943 | 12 | } |
3944 | 0 | else { |
3945 | 0 | digits_count += ranges::distance(it, *r); |
3946 | 0 | it = *r; |
3947 | 0 | } |
3948 | | |
3949 | 0 | m_integral_part_length = digits_count; |
3950 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3951 | 0 | m_locale_options.decimal_point)) { |
3952 | 0 | it = *r; |
3953 | 0 | } |
3954 | |
|
3955 | 0 | if (auto r = |
3956 | 0 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { |
3957 | 0 | digits_count += ranges::distance(it, *r); |
3958 | 0 | it = *r; |
3959 | 0 | } |
3960 | |
|
3961 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { |
3962 | 0 | return detail::unexpected_scan_error( |
3963 | 0 | scan_error::invalid_scanned_value, |
3964 | 0 | "No significand digits in hexfloat"); |
3965 | 0 | } |
3966 | | |
3967 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); |
3968 | |
|
3969 | 0 | return it; |
3970 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3934 | 6 | { | 3935 | 6 | auto it = range.begin(); | 3936 | | | 3937 | 6 | std::ptrdiff_t digits_count = 0; | 3938 | 6 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); | 3939 | 6 | SCN_UNLIKELY(!r)) { | 3940 | 6 | return r.transform_error(map_parse_error_to_scan_error( | 3941 | 6 | scan_error::invalid_scanned_value, | 3942 | 6 | "Invalid hexadecimal floating-point value")); | 3943 | 6 | } | 3944 | 0 | else { | 3945 | 0 | digits_count += ranges::distance(it, *r); | 3946 | 0 | it = *r; | 3947 | 0 | } | 3948 | | | 3949 | 0 | m_integral_part_length = digits_count; | 3950 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3951 | 0 | m_locale_options.decimal_point)) { | 3952 | 0 | it = *r; | 3953 | 0 | } | 3954 | |
| 3955 | 0 | if (auto r = | 3956 | 0 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { | 3957 | 0 | digits_count += ranges::distance(it, *r); | 3958 | 0 | it = *r; | 3959 | 0 | } | 3960 | |
| 3961 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3962 | 0 | return detail::unexpected_scan_error( | 3963 | 0 | scan_error::invalid_scanned_value, | 3964 | 0 | "No significand digits in hexfloat"); | 3965 | 0 | } | 3966 | | | 3967 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); | 3968 | |
| 3969 | 0 | return it; | 3970 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3934 | 6 | { | 3935 | 6 | auto it = range.begin(); | 3936 | | | 3937 | 6 | std::ptrdiff_t digits_count = 0; | 3938 | 6 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); | 3939 | 6 | SCN_UNLIKELY(!r)) { | 3940 | 6 | return r.transform_error(map_parse_error_to_scan_error( | 3941 | 6 | scan_error::invalid_scanned_value, | 3942 | 6 | "Invalid hexadecimal floating-point value")); | 3943 | 6 | } | 3944 | 0 | else { | 3945 | 0 | digits_count += ranges::distance(it, *r); | 3946 | 0 | it = *r; | 3947 | 0 | } | 3948 | | | 3949 | 0 | m_integral_part_length = digits_count; | 3950 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3951 | 0 | m_locale_options.decimal_point)) { | 3952 | 0 | it = *r; | 3953 | 0 | } | 3954 | |
| 3955 | 0 | if (auto r = | 3956 | 0 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { | 3957 | 0 | digits_count += ranges::distance(it, *r); | 3958 | 0 | it = *r; | 3959 | 0 | } | 3960 | |
| 3961 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3962 | 0 | return detail::unexpected_scan_error( | 3963 | 0 | scan_error::invalid_scanned_value, | 3964 | 0 | "No significand digits in hexfloat"); | 3965 | 0 | } | 3966 | | | 3967 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); | 3968 | |
| 3969 | 0 | return it; | 3970 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ |
3971 | | |
3972 | | template <typename Range> |
3973 | | auto read_regular_float(Range range) |
3974 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3975 | 480 | { |
3976 | 480 | const bool allowed_exp = (m_options & allow_scientific) != 0; |
3977 | 480 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; |
3978 | | |
3979 | 480 | auto it = ranges::begin(range); |
3980 | 480 | std::ptrdiff_t digits_count = 0; |
3981 | | |
3982 | 480 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); |
3983 | 480 | SCN_UNLIKELY(!r)) { |
3984 | 480 | return r.transform_error( |
3985 | 480 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, |
3986 | 480 | "Invalid floating-point value")); |
3987 | 480 | } |
3988 | 0 | else { |
3989 | 0 | digits_count += ranges::distance(it, *r); |
3990 | 0 | it = *r; |
3991 | 0 | } |
3992 | | |
3993 | 0 | m_integral_part_length = digits_count; |
3994 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3995 | 0 | m_locale_options.decimal_point)) { |
3996 | 0 | it = *r; |
3997 | 0 | } |
3998 | |
|
3999 | 0 | if (auto r = |
4000 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { |
4001 | 0 | digits_count += ranges::distance(it, *r); |
4002 | 0 | it = *r; |
4003 | 0 | } |
4004 | |
|
4005 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { |
4006 | 0 | return detail::unexpected_scan_error( |
4007 | 0 | scan_error::invalid_scanned_value, |
4008 | 0 | "No significand digits in float"); |
4009 | 0 | } |
4010 | | |
4011 | 0 | auto beg_exp_it = it; |
4012 | 0 | if (allowed_exp) { |
4013 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); |
4014 | 0 | } |
4015 | 0 | if (required_exp && beg_exp_it == it) { |
4016 | 0 | return detail::unexpected_scan_error( |
4017 | 0 | scan_error::invalid_scanned_value, |
4018 | 0 | "No exponent given to scientific float"); |
4019 | 0 | } |
4020 | | |
4021 | 0 | m_kind = |
4022 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; |
4023 | |
|
4024 | 0 | return it; |
4025 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3975 | 330 | { | 3976 | 330 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3977 | 330 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3978 | | | 3979 | 330 | auto it = ranges::begin(range); | 3980 | 330 | std::ptrdiff_t digits_count = 0; | 3981 | | | 3982 | 330 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3983 | 330 | SCN_UNLIKELY(!r)) { | 3984 | 330 | return r.transform_error( | 3985 | 330 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3986 | 330 | "Invalid floating-point value")); | 3987 | 330 | } | 3988 | 0 | else { | 3989 | 0 | digits_count += ranges::distance(it, *r); | 3990 | 0 | it = *r; | 3991 | 0 | } | 3992 | | | 3993 | 0 | m_integral_part_length = digits_count; | 3994 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3995 | 0 | m_locale_options.decimal_point)) { | 3996 | 0 | it = *r; | 3997 | 0 | } | 3998 | |
| 3999 | 0 | if (auto r = | 4000 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 4001 | 0 | digits_count += ranges::distance(it, *r); | 4002 | 0 | it = *r; | 4003 | 0 | } | 4004 | |
| 4005 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 4006 | 0 | return detail::unexpected_scan_error( | 4007 | 0 | scan_error::invalid_scanned_value, | 4008 | 0 | "No significand digits in float"); | 4009 | 0 | } | 4010 | | | 4011 | 0 | auto beg_exp_it = it; | 4012 | 0 | if (allowed_exp) { | 4013 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 4014 | 0 | } | 4015 | 0 | if (required_exp && beg_exp_it == it) { | 4016 | 0 | return detail::unexpected_scan_error( | 4017 | 0 | scan_error::invalid_scanned_value, | 4018 | 0 | "No exponent given to scientific float"); | 4019 | 0 | } | 4020 | | | 4021 | 0 | m_kind = | 4022 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 4023 | |
| 4024 | 0 | return it; | 4025 | 0 | } |
_ZN3scn2v44impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3975 | 22 | { | 3976 | 22 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3977 | 22 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3978 | | | 3979 | 22 | auto it = ranges::begin(range); | 3980 | 22 | std::ptrdiff_t digits_count = 0; | 3981 | | | 3982 | 22 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3983 | 22 | SCN_UNLIKELY(!r)) { | 3984 | 22 | return r.transform_error( | 3985 | 22 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3986 | 22 | "Invalid floating-point value")); | 3987 | 22 | } | 3988 | 0 | else { | 3989 | 0 | digits_count += ranges::distance(it, *r); | 3990 | 0 | it = *r; | 3991 | 0 | } | 3992 | | | 3993 | 0 | m_integral_part_length = digits_count; | 3994 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3995 | 0 | m_locale_options.decimal_point)) { | 3996 | 0 | it = *r; | 3997 | 0 | } | 3998 | |
| 3999 | 0 | if (auto r = | 4000 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 4001 | 0 | digits_count += ranges::distance(it, *r); | 4002 | 0 | it = *r; | 4003 | 0 | } | 4004 | |
| 4005 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 4006 | 0 | return detail::unexpected_scan_error( | 4007 | 0 | scan_error::invalid_scanned_value, | 4008 | 0 | "No significand digits in float"); | 4009 | 0 | } | 4010 | | | 4011 | 0 | auto beg_exp_it = it; | 4012 | 0 | if (allowed_exp) { | 4013 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 4014 | 0 | } | 4015 | 0 | if (required_exp && beg_exp_it == it) { | 4016 | 0 | return detail::unexpected_scan_error( | 4017 | 0 | scan_error::invalid_scanned_value, | 4018 | 0 | "No exponent given to scientific float"); | 4019 | 0 | } | 4020 | | | 4021 | 0 | m_kind = | 4022 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 4023 | |
| 4024 | 0 | return it; | 4025 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3975 | 122 | { | 3976 | 122 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3977 | 122 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3978 | | | 3979 | 122 | auto it = ranges::begin(range); | 3980 | 122 | std::ptrdiff_t digits_count = 0; | 3981 | | | 3982 | 122 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3983 | 122 | SCN_UNLIKELY(!r)) { | 3984 | 122 | return r.transform_error( | 3985 | 122 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3986 | 122 | "Invalid floating-point value")); | 3987 | 122 | } | 3988 | 0 | else { | 3989 | 0 | digits_count += ranges::distance(it, *r); | 3990 | 0 | it = *r; | 3991 | 0 | } | 3992 | | | 3993 | 0 | m_integral_part_length = digits_count; | 3994 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3995 | 0 | m_locale_options.decimal_point)) { | 3996 | 0 | it = *r; | 3997 | 0 | } | 3998 | |
| 3999 | 0 | if (auto r = | 4000 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 4001 | 0 | digits_count += ranges::distance(it, *r); | 4002 | 0 | it = *r; | 4003 | 0 | } | 4004 | |
| 4005 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 4006 | 0 | return detail::unexpected_scan_error( | 4007 | 0 | scan_error::invalid_scanned_value, | 4008 | 0 | "No significand digits in float"); | 4009 | 0 | } | 4010 | | | 4011 | 0 | auto beg_exp_it = it; | 4012 | 0 | if (allowed_exp) { | 4013 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 4014 | 0 | } | 4015 | 0 | if (required_exp && beg_exp_it == it) { | 4016 | 0 | return detail::unexpected_scan_error( | 4017 | 0 | scan_error::invalid_scanned_value, | 4018 | 0 | "No exponent given to scientific float"); | 4019 | 0 | } | 4020 | | | 4021 | 0 | m_kind = | 4022 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 4023 | |
| 4024 | 0 | return it; | 4025 | 0 | } |
_ZN3scn2v44impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3975 | 6 | { | 3976 | 6 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 3977 | 6 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 3978 | | | 3979 | 6 | auto it = ranges::begin(range); | 3980 | 6 | std::ptrdiff_t digits_count = 0; | 3981 | | | 3982 | 6 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 3983 | 6 | SCN_UNLIKELY(!r)) { | 3984 | 6 | return r.transform_error( | 3985 | 6 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 3986 | 6 | "Invalid floating-point value")); | 3987 | 6 | } | 3988 | 0 | else { | 3989 | 0 | digits_count += ranges::distance(it, *r); | 3990 | 0 | it = *r; | 3991 | 0 | } | 3992 | | | 3993 | 0 | m_integral_part_length = digits_count; | 3994 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3995 | 0 | m_locale_options.decimal_point)) { | 3996 | 0 | it = *r; | 3997 | 0 | } | 3998 | |
| 3999 | 0 | if (auto r = | 4000 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 4001 | 0 | digits_count += ranges::distance(it, *r); | 4002 | 0 | it = *r; | 4003 | 0 | } | 4004 | |
| 4005 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 4006 | 0 | return detail::unexpected_scan_error( | 4007 | 0 | scan_error::invalid_scanned_value, | 4008 | 0 | "No significand digits in float"); | 4009 | 0 | } | 4010 | | | 4011 | 0 | auto beg_exp_it = it; | 4012 | 0 | if (allowed_exp) { | 4013 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 4014 | 0 | } | 4015 | 0 | if (required_exp && beg_exp_it == it) { | 4016 | 0 | return detail::unexpected_scan_error( | 4017 | 0 | scan_error::invalid_scanned_value, | 4018 | 0 | "No exponent given to scientific float"); | 4019 | 0 | } | 4020 | | | 4021 | 0 | m_kind = | 4022 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 4023 | |
| 4024 | 0 | return it; | 4025 | 0 | } |
|
4026 | | |
4027 | | template <typename Range, typename ReadRegular, typename ReadHex> |
4028 | | auto do_read_source_impl(Range range, |
4029 | | ReadRegular&& read_regular, |
4030 | | ReadHex&& read_hex) |
4031 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4032 | 2.11k | { |
4033 | 2.11k | const bool allowed_hex = (m_options & allow_hex) != 0; |
4034 | 2.11k | const bool allowed_nonhex = |
4035 | 2.11k | (m_options & ~static_cast<unsigned>(allow_thsep) & |
4036 | 2.11k | ~static_cast<unsigned>(allow_hex)) != 0; |
4037 | | |
4038 | 2.11k | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { |
4039 | 0 | return r.transform_error(map_parse_error_to_scan_error( |
4040 | 0 | scan_error::invalid_scanned_value, |
4041 | 0 | "Invalid infinite floating-point value")); |
4042 | 0 | } |
4043 | 2.11k | else if (r) { |
4044 | 0 | return *r; |
4045 | 0 | } |
4046 | | |
4047 | 2.11k | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { |
4048 | 0 | return unexpected(r.error()); |
4049 | 0 | } |
4050 | 2.11k | else if (r) { |
4051 | 0 | return *r; |
4052 | 0 | } |
4053 | | |
4054 | 2.11k | if (allowed_hex && !allowed_nonhex) { |
4055 | | // only hex allowed: |
4056 | | // prefix "0x" allowed, not required |
4057 | 30 | auto it = range.begin(); |
4058 | | |
4059 | 30 | if (auto r = read_hex_prefix(range)) { |
4060 | 0 | m_kind = float_kind::hex_with_prefix; |
4061 | 0 | it = *r; |
4062 | 0 | } |
4063 | 30 | else { |
4064 | 30 | m_kind = float_kind::hex_without_prefix; |
4065 | 30 | } |
4066 | | |
4067 | 30 | return read_hex(ranges::subrange{it, range.end()}); |
4068 | 30 | } |
4069 | 2.08k | if (!allowed_hex && allowed_nonhex) { |
4070 | | // only nonhex allowed: |
4071 | | // no prefix allowed |
4072 | 60 | m_kind = float_kind::generic; |
4073 | 60 | return read_regular_float(range); |
4074 | 60 | } |
4075 | | // both hex and nonhex allowed: |
4076 | | // check for "0x" prefix -> hex, |
4077 | | // regular otherwise |
4078 | | |
4079 | 2.02k | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { |
4080 | 0 | m_kind = float_kind::hex_with_prefix; |
4081 | 0 | return read_hex(ranges::subrange{*r, range.end()}); |
4082 | 0 | } |
4083 | | |
4084 | 2.02k | m_kind = float_kind::generic; |
4085 | 2.02k | return read_regular(range); |
4086 | 2.02k | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEZNS3_16read_source_implISJ_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlRKSR_E_ZNSN_ISJ_EESW_SR_EUlSY_E0_EESW_SR_OT0_OT1_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_16read_source_implISE_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlRKSJ_E_ZNSF_ISE_EESO_SJ_EUlSQ_E0_EESO_SJ_OT0_OT1_ _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEZNS3_16read_source_implISG_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_EUlRKSO_E_ZNSK_ISG_EEST_SO_EUlSV_E0_EEST_SO_OT0_OT1_ Line | Count | Source | 4032 | 336 | { | 4033 | 336 | const bool allowed_hex = (m_options & allow_hex) != 0; | 4034 | 336 | const bool allowed_nonhex = | 4035 | 336 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 4036 | 336 | ~static_cast<unsigned>(allow_hex)) != 0; | 4037 | | | 4038 | 336 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 4039 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 4040 | 0 | scan_error::invalid_scanned_value, | 4041 | 0 | "Invalid infinite floating-point value")); | 4042 | 0 | } | 4043 | 336 | else if (r) { | 4044 | 0 | return *r; | 4045 | 0 | } | 4046 | | | 4047 | 336 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4048 | 0 | return unexpected(r.error()); | 4049 | 0 | } | 4050 | 336 | else if (r) { | 4051 | 0 | return *r; | 4052 | 0 | } | 4053 | | | 4054 | 336 | if (allowed_hex && !allowed_nonhex) { | 4055 | | // only hex allowed: | 4056 | | // prefix "0x" allowed, not required | 4057 | 6 | auto it = range.begin(); | 4058 | | | 4059 | 6 | if (auto r = read_hex_prefix(range)) { | 4060 | 0 | m_kind = float_kind::hex_with_prefix; | 4061 | 0 | it = *r; | 4062 | 0 | } | 4063 | 6 | else { | 4064 | 6 | m_kind = float_kind::hex_without_prefix; | 4065 | 6 | } | 4066 | | | 4067 | 6 | return read_hex(ranges::subrange{it, range.end()}); | 4068 | 6 | } | 4069 | 330 | if (!allowed_hex && allowed_nonhex) { | 4070 | | // only nonhex allowed: | 4071 | | // no prefix allowed | 4072 | 24 | m_kind = float_kind::generic; | 4073 | 24 | return read_regular_float(range); | 4074 | 24 | } | 4075 | | // both hex and nonhex allowed: | 4076 | | // check for "0x" prefix -> hex, | 4077 | | // regular otherwise | 4078 | | | 4079 | 306 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4080 | 0 | m_kind = float_kind::hex_with_prefix; | 4081 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4082 | 0 | } | 4083 | | | 4084 | 306 | m_kind = float_kind::generic; | 4085 | 306 | return read_regular(range); | 4086 | 306 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E_ZNSC_ISB_EESL_SG_EUlSN_E0_EESL_SG_OT0_OT1_ _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EERZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E1_SP_EESL_SG_OT0_OT1_ Line | Count | Source | 4032 | 904 | { | 4033 | 904 | const bool allowed_hex = (m_options & allow_hex) != 0; | 4034 | 904 | const bool allowed_nonhex = | 4035 | 904 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 4036 | 904 | ~static_cast<unsigned>(allow_hex)) != 0; | 4037 | | | 4038 | 904 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 4039 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 4040 | 0 | scan_error::invalid_scanned_value, | 4041 | 0 | "Invalid infinite floating-point value")); | 4042 | 0 | } | 4043 | 904 | else if (r) { | 4044 | 0 | return *r; | 4045 | 0 | } | 4046 | | | 4047 | 904 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4048 | 0 | return unexpected(r.error()); | 4049 | 0 | } | 4050 | 904 | else if (r) { | 4051 | 0 | return *r; | 4052 | 0 | } | 4053 | | | 4054 | 904 | if (allowed_hex && !allowed_nonhex) { | 4055 | | // only hex allowed: | 4056 | | // prefix "0x" allowed, not required | 4057 | 6 | auto it = range.begin(); | 4058 | | | 4059 | 6 | if (auto r = read_hex_prefix(range)) { | 4060 | 0 | m_kind = float_kind::hex_with_prefix; | 4061 | 0 | it = *r; | 4062 | 0 | } | 4063 | 6 | else { | 4064 | 6 | m_kind = float_kind::hex_without_prefix; | 4065 | 6 | } | 4066 | | | 4067 | 6 | return read_hex(ranges::subrange{it, range.end()}); | 4068 | 6 | } | 4069 | 898 | if (!allowed_hex && allowed_nonhex) { | 4070 | | // only nonhex allowed: | 4071 | | // no prefix allowed | 4072 | 22 | m_kind = float_kind::generic; | 4073 | 22 | return read_regular_float(range); | 4074 | 22 | } | 4075 | | // both hex and nonhex allowed: | 4076 | | // check for "0x" prefix -> hex, | 4077 | | // regular otherwise | 4078 | | | 4079 | 876 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4080 | 0 | m_kind = float_kind::hex_with_prefix; | 4081 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4082 | 0 | } | 4083 | | | 4084 | 876 | m_kind = float_kind::generic; | 4085 | 876 | return read_regular(range); | 4086 | 876 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEZNS3_16read_source_implISJ_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlRKSR_E_ZNSN_ISJ_EESW_SR_EUlSY_E0_EESW_SR_OT0_OT1_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_16read_source_implISE_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlRKSJ_E_ZNSF_ISE_EESO_SJ_EUlSQ_E0_EESO_SJ_OT0_OT1_ _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEZNS3_16read_source_implISG_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_EUlRKSO_E_ZNSK_ISG_EEST_SO_EUlSV_E0_EEST_SO_OT0_OT1_ Line | Count | Source | 4032 | 128 | { | 4033 | 128 | const bool allowed_hex = (m_options & allow_hex) != 0; | 4034 | 128 | const bool allowed_nonhex = | 4035 | 128 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 4036 | 128 | ~static_cast<unsigned>(allow_hex)) != 0; | 4037 | | | 4038 | 128 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 4039 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 4040 | 0 | scan_error::invalid_scanned_value, | 4041 | 0 | "Invalid infinite floating-point value")); | 4042 | 0 | } | 4043 | 128 | else if (r) { | 4044 | 0 | return *r; | 4045 | 0 | } | 4046 | | | 4047 | 128 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4048 | 0 | return unexpected(r.error()); | 4049 | 0 | } | 4050 | 128 | else if (r) { | 4051 | 0 | return *r; | 4052 | 0 | } | 4053 | | | 4054 | 128 | if (allowed_hex && !allowed_nonhex) { | 4055 | | // only hex allowed: | 4056 | | // prefix "0x" allowed, not required | 4057 | 6 | auto it = range.begin(); | 4058 | | | 4059 | 6 | if (auto r = read_hex_prefix(range)) { | 4060 | 0 | m_kind = float_kind::hex_with_prefix; | 4061 | 0 | it = *r; | 4062 | 0 | } | 4063 | 6 | else { | 4064 | 6 | m_kind = float_kind::hex_without_prefix; | 4065 | 6 | } | 4066 | | | 4067 | 6 | return read_hex(ranges::subrange{it, range.end()}); | 4068 | 6 | } | 4069 | 122 | if (!allowed_hex && allowed_nonhex) { | 4070 | | // only nonhex allowed: | 4071 | | // no prefix allowed | 4072 | 8 | m_kind = float_kind::generic; | 4073 | 8 | return read_regular_float(range); | 4074 | 8 | } | 4075 | | // both hex and nonhex allowed: | 4076 | | // check for "0x" prefix -> hex, | 4077 | | // regular otherwise | 4078 | | | 4079 | 114 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4080 | 0 | m_kind = float_kind::hex_with_prefix; | 4081 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4082 | 0 | } | 4083 | | | 4084 | 114 | m_kind = float_kind::generic; | 4085 | 114 | return read_regular(range); | 4086 | 114 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E_ZNSC_ISB_EESL_SG_EUlSN_E0_EESL_SG_OT0_OT1_ _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EERZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E1_SP_EESL_SG_OT0_OT1_ Line | Count | Source | 4032 | 746 | { | 4033 | 746 | const bool allowed_hex = (m_options & allow_hex) != 0; | 4034 | 746 | const bool allowed_nonhex = | 4035 | 746 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 4036 | 746 | ~static_cast<unsigned>(allow_hex)) != 0; | 4037 | | | 4038 | 746 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 4039 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 4040 | 0 | scan_error::invalid_scanned_value, | 4041 | 0 | "Invalid infinite floating-point value")); | 4042 | 0 | } | 4043 | 746 | else if (r) { | 4044 | 0 | return *r; | 4045 | 0 | } | 4046 | | | 4047 | 746 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4048 | 0 | return unexpected(r.error()); | 4049 | 0 | } | 4050 | 746 | else if (r) { | 4051 | 0 | return *r; | 4052 | 0 | } | 4053 | | | 4054 | 746 | if (allowed_hex && !allowed_nonhex) { | 4055 | | // only hex allowed: | 4056 | | // prefix "0x" allowed, not required | 4057 | 12 | auto it = range.begin(); | 4058 | | | 4059 | 12 | if (auto r = read_hex_prefix(range)) { | 4060 | 0 | m_kind = float_kind::hex_with_prefix; | 4061 | 0 | it = *r; | 4062 | 0 | } | 4063 | 12 | else { | 4064 | 12 | m_kind = float_kind::hex_without_prefix; | 4065 | 12 | } | 4066 | | | 4067 | 12 | return read_hex(ranges::subrange{it, range.end()}); | 4068 | 12 | } | 4069 | 734 | if (!allowed_hex && allowed_nonhex) { | 4070 | | // only nonhex allowed: | 4071 | | // no prefix allowed | 4072 | 6 | m_kind = float_kind::generic; | 4073 | 6 | return read_regular_float(range); | 4074 | 6 | } | 4075 | | // both hex and nonhex allowed: | 4076 | | // check for "0x" prefix -> hex, | 4077 | | // regular otherwise | 4078 | | | 4079 | 728 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4080 | 0 | m_kind = float_kind::hex_with_prefix; | 4081 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4082 | 0 | } | 4083 | | | 4084 | 728 | m_kind = float_kind::generic; | 4085 | 728 | return read_regular(range); | 4086 | 728 | } |
|
4087 | | |
4088 | | void handle_separators() |
4089 | 1.62k | { |
4090 | 1.62k | if (m_locale_options.thousands_sep == 0 && |
4091 | 1.62k | m_locale_options.decimal_point == CharT{'.'}) { |
4092 | 1.62k | return; |
4093 | 1.62k | } |
4094 | | |
4095 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); |
4096 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { |
4097 | 0 | for (auto& ch : str) { |
4098 | 0 | if (ch == m_locale_options.decimal_point) { |
4099 | 0 | ch = CharT{'.'}; |
4100 | 0 | } |
4101 | 0 | } |
4102 | 0 | } |
4103 | |
|
4104 | 0 | if (m_locale_options.thousands_sep == 0) { |
4105 | 0 | return; |
4106 | 0 | } |
4107 | | |
4108 | 0 | auto first = |
4109 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); |
4110 | 0 | if (first == str.end()) { |
4111 | 0 | return; |
4112 | 0 | } |
4113 | | |
4114 | 0 | m_thsep_indices.push_back( |
4115 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); |
4116 | |
|
4117 | 0 | for (auto it = first; ++it != str.end();) { |
4118 | 0 | if (*it != m_locale_options.thousands_sep) { |
4119 | 0 | *first++ = std::move(*it); |
4120 | 0 | } |
4121 | 0 | else { |
4122 | 0 | m_thsep_indices.push_back( |
4123 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); |
4124 | 0 | } |
4125 | 0 | } |
4126 | |
|
4127 | 0 | str.erase(first, str.end()); |
4128 | 0 | } scn::v4::impl::float_reader<char>::handle_separators() Line | Count | Source | 4089 | 882 | { | 4090 | 882 | if (m_locale_options.thousands_sep == 0 && | 4091 | 882 | m_locale_options.decimal_point == CharT{'.'}) { | 4092 | 882 | return; | 4093 | 882 | } | 4094 | | | 4095 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); | 4096 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { | 4097 | 0 | for (auto& ch : str) { | 4098 | 0 | if (ch == m_locale_options.decimal_point) { | 4099 | 0 | ch = CharT{'.'}; | 4100 | 0 | } | 4101 | 0 | } | 4102 | 0 | } | 4103 | |
| 4104 | 0 | if (m_locale_options.thousands_sep == 0) { | 4105 | 0 | return; | 4106 | 0 | } | 4107 | | | 4108 | 0 | auto first = | 4109 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); | 4110 | 0 | if (first == str.end()) { | 4111 | 0 | return; | 4112 | 0 | } | 4113 | | | 4114 | 0 | m_thsep_indices.push_back( | 4115 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); | 4116 | |
| 4117 | 0 | for (auto it = first; ++it != str.end();) { | 4118 | 0 | if (*it != m_locale_options.thousands_sep) { | 4119 | 0 | *first++ = std::move(*it); | 4120 | 0 | } | 4121 | 0 | else { | 4122 | 0 | m_thsep_indices.push_back( | 4123 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); | 4124 | 0 | } | 4125 | 0 | } | 4126 | |
| 4127 | 0 | str.erase(first, str.end()); | 4128 | 0 | } |
scn::v4::impl::float_reader<wchar_t>::handle_separators() Line | Count | Source | 4089 | 740 | { | 4090 | 740 | if (m_locale_options.thousands_sep == 0 && | 4091 | 740 | m_locale_options.decimal_point == CharT{'.'}) { | 4092 | 740 | return; | 4093 | 740 | } | 4094 | | | 4095 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); | 4096 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { | 4097 | 0 | for (auto& ch : str) { | 4098 | 0 | if (ch == m_locale_options.decimal_point) { | 4099 | 0 | ch = CharT{'.'}; | 4100 | 0 | } | 4101 | 0 | } | 4102 | 0 | } | 4103 | |
| 4104 | 0 | if (m_locale_options.thousands_sep == 0) { | 4105 | 0 | return; | 4106 | 0 | } | 4107 | | | 4108 | 0 | auto first = | 4109 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); | 4110 | 0 | if (first == str.end()) { | 4111 | 0 | return; | 4112 | 0 | } | 4113 | | | 4114 | 0 | m_thsep_indices.push_back( | 4115 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); | 4116 | |
| 4117 | 0 | for (auto it = first; ++it != str.end();) { | 4118 | 0 | if (*it != m_locale_options.thousands_sep) { | 4119 | 0 | *first++ = std::move(*it); | 4120 | 0 | } | 4121 | 0 | else { | 4122 | 0 | m_thsep_indices.push_back( | 4123 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); | 4124 | 0 | } | 4125 | 0 | } | 4126 | |
| 4127 | 0 | str.erase(first, str.end()); | 4128 | 0 | } |
|
4129 | | |
4130 | | template <typename T> |
4131 | | T setsign(T value) const |
4132 | 0 | { |
4133 | 0 | if (m_sign == sign_type::minus_sign) { |
4134 | 0 | return std::copysign(value, T{-1.0}); |
4135 | 0 | } |
4136 | 0 | return std::copysign(value, T{1.0}); |
4137 | 0 | } Unexecuted instantiation: float scn::v4::impl::float_reader<char>::setsign<float>(float) const Unexecuted instantiation: float scn::v4::impl::float_reader<wchar_t>::setsign<float>(float) const Unexecuted instantiation: double scn::v4::impl::float_reader<char>::setsign<double>(double) const Unexecuted instantiation: double scn::v4::impl::float_reader<wchar_t>::setsign<double>(double) const Unexecuted instantiation: long double scn::v4::impl::float_reader<char>::setsign<long double>(long double) const Unexecuted instantiation: long double scn::v4::impl::float_reader<wchar_t>::setsign<long double>(long double) const |
4138 | | |
4139 | | template <typename T> |
4140 | | scan_expected<std::ptrdiff_t> parse_value_impl(T& value); |
4141 | | |
4142 | | localized_number_formatting_options<CharT> m_locale_options{}; |
4143 | | std::string m_thsep_indices{}; |
4144 | | contiguous_range_factory<CharT> m_nan_payload_buffer{}; |
4145 | | std::ptrdiff_t m_integral_part_length{-1}; |
4146 | | sign_type m_sign{sign_type::default_sign}; |
4147 | | float_kind m_kind{float_kind::tbd}; |
4148 | | }; |
4149 | | |
4150 | | #define SCN_DECLARE_FLOAT_READER_TEMPLATE(CharT, FloatT) \ |
4151 | | extern template auto float_reader<CharT>::parse_value_impl(FloatT&) \ |
4152 | | -> scan_expected<std::ptrdiff_t>; |
4153 | | |
4154 | | #if !SCN_DISABLE_TYPE_FLOAT |
4155 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, float) |
4156 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, float) |
4157 | | #endif |
4158 | | #if !SCN_DISABLE_TYPE_DOUBLE |
4159 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, double) |
4160 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, double) |
4161 | | #endif |
4162 | | #if !SCN_DISABLE_TYPE_LONG_DOUBLE |
4163 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, long double) |
4164 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, long double) |
4165 | | #endif |
4166 | | |
4167 | | #undef SCN_DECLARE_FLOAT_READER_TEMPLATE |
4168 | | |
4169 | | template <typename CharT> |
4170 | | class reader_impl_for_float |
4171 | | : public reader_base<reader_impl_for_float<CharT>, CharT> { |
4172 | | public: |
4173 | | constexpr reader_impl_for_float() = default; |
4174 | | |
4175 | | void check_specs_impl(const detail::format_specs& specs, |
4176 | | reader_error_handler& eh) |
4177 | 3.18k | { |
4178 | 3.18k | detail::check_float_type_specs(specs, eh); |
4179 | 3.18k | } scn::v4::impl::reader_impl_for_float<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 4177 | 2.33k | { | 4178 | 2.33k | detail::check_float_type_specs(specs, eh); | 4179 | 2.33k | } |
scn::v4::impl::reader_impl_for_float<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 4177 | 854 | { | 4178 | 854 | detail::check_float_type_specs(specs, eh); | 4179 | 854 | } |
|
4180 | | |
4181 | | template <typename Range, typename T> |
4182 | | auto read_default(Range range, T& value, detail::locale_ref loc) |
4183 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4184 | 1.06k | { |
4185 | 1.06k | SCN_UNUSED(loc); |
4186 | | |
4187 | 1.06k | float_reader<CharT> rd{}; |
4188 | 1.06k | return read_impl<Range>( |
4189 | 1.06k | range, rd, |
4190 | 1.06k | [](float_reader<CharT>& r, auto&&... args) { |
4191 | 1.06k | return r.read_source(SCN_FWD(args)...); |
4192 | 1.06k | }, Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Line | Count | Source | 4190 | 628 | [](float_reader<CharT>& r, auto&&... args) { | 4191 | 628 | return r.read_source(SCN_FWD(args)...); | 4192 | 628 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Line | Count | Source | 4190 | 436 | [](float_reader<CharT>& r, auto&&... args) { | 4191 | 436 | return r.read_source(SCN_FWD(args)...); | 4192 | 436 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ |
4193 | 1.06k | value); |
4194 | 1.06k | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 4184 | 628 | { | 4185 | 628 | SCN_UNUSED(loc); | 4186 | | | 4187 | 628 | float_reader<CharT> rd{}; | 4188 | 628 | return read_impl<Range>( | 4189 | 628 | range, rd, | 4190 | 628 | [](float_reader<CharT>& r, auto&&... args) { | 4191 | 628 | return r.read_source(SCN_FWD(args)...); | 4192 | 628 | }, | 4193 | 628 | value); | 4194 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 4184 | 436 | { | 4185 | 436 | SCN_UNUSED(loc); | 4186 | | | 4187 | 436 | float_reader<CharT> rd{}; | 4188 | 436 | return read_impl<Range>( | 4189 | 436 | range, rd, | 4190 | 436 | [](float_reader<CharT>& r, auto&&... args) { | 4191 | 436 | return r.read_source(SCN_FWD(args)...); | 4192 | 436 | }, | 4193 | 436 | value); | 4194 | 436 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE |
4195 | | |
4196 | | template <typename Range, typename T> |
4197 | | auto read_specs(Range range, |
4198 | | const detail::format_specs& specs, |
4199 | | T& value, |
4200 | | detail::locale_ref loc) |
4201 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4202 | 1.05k | { |
4203 | 1.05k | float_reader<CharT> rd{get_options(specs)}; |
4204 | | |
4205 | 1.05k | #if !SCN_DISABLE_LOCALE |
4206 | 1.05k | if (specs.localized) { |
4207 | 28 | return read_impl<Range>( |
4208 | 28 | range, rd, |
4209 | 28 | [](float_reader<CharT>& r, auto&&... args) { |
4210 | 28 | return r.read_source_localized(SCN_FWD(args)...); |
4211 | 28 | }, Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4209 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 8 | }, |
_ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4209 | 6 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 6 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 6 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4209 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 8 | }, |
_ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4209 | 6 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 6 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 6 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ |
4212 | 28 | value, loc); |
4213 | 28 | } |
4214 | 1.02k | #endif |
4215 | | |
4216 | 1.02k | return read_impl<Range>( |
4217 | 1.02k | range, rd, |
4218 | 1.02k | [](float_reader<CharT>& r, auto&&... args) { |
4219 | 1.02k | return r.read_source(SCN_FWD(args)...); |
4220 | 1.02k | }, Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4218 | 328 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 328 | return r.read_source(SCN_FWD(args)...); | 4220 | 328 | }, |
_ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4218 | 270 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 270 | return r.read_source(SCN_FWD(args)...); | 4220 | 270 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4218 | 120 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 120 | return r.read_source(SCN_FWD(args)...); | 4220 | 120 | }, |
_ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4218 | 304 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 304 | return r.read_source(SCN_FWD(args)...); | 4220 | 304 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ |
4221 | 1.02k | value); |
4222 | 1.05k | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 4202 | 336 | { | 4203 | 336 | float_reader<CharT> rd{get_options(specs)}; | 4204 | | | 4205 | 336 | #if !SCN_DISABLE_LOCALE | 4206 | 336 | if (specs.localized) { | 4207 | 8 | return read_impl<Range>( | 4208 | 8 | range, rd, | 4209 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 8 | }, | 4212 | 8 | value, loc); | 4213 | 8 | } | 4214 | 328 | #endif | 4215 | | | 4216 | 328 | return read_impl<Range>( | 4217 | 328 | range, rd, | 4218 | 328 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 328 | return r.read_source(SCN_FWD(args)...); | 4220 | 328 | }, | 4221 | 328 | value); | 4222 | 336 | } |
_ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 4202 | 276 | { | 4203 | 276 | float_reader<CharT> rd{get_options(specs)}; | 4204 | | | 4205 | 276 | #if !SCN_DISABLE_LOCALE | 4206 | 276 | if (specs.localized) { | 4207 | 6 | return read_impl<Range>( | 4208 | 6 | range, rd, | 4209 | 6 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 6 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 6 | }, | 4212 | 6 | value, loc); | 4213 | 6 | } | 4214 | 270 | #endif | 4215 | | | 4216 | 270 | return read_impl<Range>( | 4217 | 270 | range, rd, | 4218 | 270 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 270 | return r.read_source(SCN_FWD(args)...); | 4220 | 270 | }, | 4221 | 270 | value); | 4222 | 276 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 4202 | 128 | { | 4203 | 128 | float_reader<CharT> rd{get_options(specs)}; | 4204 | | | 4205 | 128 | #if !SCN_DISABLE_LOCALE | 4206 | 128 | if (specs.localized) { | 4207 | 8 | return read_impl<Range>( | 4208 | 8 | range, rd, | 4209 | 8 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 8 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 8 | }, | 4212 | 8 | value, loc); | 4213 | 8 | } | 4214 | 120 | #endif | 4215 | | | 4216 | 120 | return read_impl<Range>( | 4217 | 120 | range, rd, | 4218 | 120 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 120 | return r.read_source(SCN_FWD(args)...); | 4220 | 120 | }, | 4221 | 120 | value); | 4222 | 128 | } |
_ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 4202 | 310 | { | 4203 | 310 | float_reader<CharT> rd{get_options(specs)}; | 4204 | | | 4205 | 310 | #if !SCN_DISABLE_LOCALE | 4206 | 310 | if (specs.localized) { | 4207 | 6 | return read_impl<Range>( | 4208 | 6 | range, rd, | 4209 | 6 | [](float_reader<CharT>& r, auto&&... args) { | 4210 | 6 | return r.read_source_localized(SCN_FWD(args)...); | 4211 | 6 | }, | 4212 | 6 | value, loc); | 4213 | 6 | } | 4214 | 304 | #endif | 4215 | | | 4216 | 304 | return read_impl<Range>( | 4217 | 304 | range, rd, | 4218 | 304 | [](float_reader<CharT>& r, auto&&... args) { | 4219 | 304 | return r.read_source(SCN_FWD(args)...); | 4220 | 304 | }, | 4221 | 304 | value); | 4222 | 310 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE |
4223 | | |
4224 | | private: |
4225 | | template <typename Range> |
4226 | | using read_source_callback_type = |
4227 | | scan_expected<ranges::const_iterator_t<Range>>(float_reader<CharT>&, |
4228 | | Range, |
4229 | | detail::locale_ref); |
4230 | | |
4231 | | template <typename Range, typename T> |
4232 | | scan_expected<ranges::const_iterator_t<Range>> read_impl( |
4233 | | Range range, |
4234 | | float_reader<CharT>& rd, |
4235 | | function_ref<read_source_callback_type<Range>> read_source_cb, |
4236 | | T& value, |
4237 | | detail::locale_ref loc = {}) |
4238 | 2.11k | { |
4239 | 2.11k | if (auto r = std::invoke(read_source_cb, rd, range, loc); |
4240 | 2.11k | SCN_UNLIKELY(!r)) { |
4241 | 492 | return unexpected(r.error()); |
4242 | 492 | } |
4243 | | |
4244 | 1.62k | SCN_TRY(n, rd.parse_value(value)); |
4245 | 0 | return ranges::next(range.begin(), n); |
4246 | 1.62k | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Line | Count | Source | 4238 | 336 | { | 4239 | 336 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4240 | 336 | SCN_UNLIKELY(!r)) { | 4241 | 336 | return unexpected(r.error()); | 4242 | 336 | } | 4243 | | | 4244 | 0 | SCN_TRY(n, rd.parse_value(value)); | 4245 | 0 | return ranges::next(range.begin(), n); | 4246 | 0 | } |
_ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Line | Count | Source | 4238 | 904 | { | 4239 | 904 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4240 | 904 | SCN_UNLIKELY(!r)) { | 4241 | 22 | return unexpected(r.error()); | 4242 | 22 | } | 4243 | | | 4244 | 882 | SCN_TRY(n, rd.parse_value(value)); | 4245 | 0 | return ranges::next(range.begin(), n); | 4246 | 882 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Line | Count | Source | 4238 | 128 | { | 4239 | 128 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4240 | 128 | SCN_UNLIKELY(!r)) { | 4241 | 128 | return unexpected(r.error()); | 4242 | 128 | } | 4243 | | | 4244 | 0 | SCN_TRY(n, rd.parse_value(value)); | 4245 | 0 | return ranges::next(range.begin(), n); | 4246 | 0 | } |
_ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Line | Count | Source | 4238 | 746 | { | 4239 | 746 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4240 | 746 | SCN_UNLIKELY(!r)) { | 4241 | 6 | return unexpected(r.error()); | 4242 | 6 | } | 4243 | | | 4244 | 740 | SCN_TRY(n, rd.parse_value(value)); | 4245 | 0 | return ranges::next(range.begin(), n); | 4246 | 740 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ |
4247 | | |
4248 | | static unsigned get_options(const detail::format_specs& specs) |
4249 | 1.05k | { |
4250 | 1.05k | unsigned options{}; |
4251 | 1.05k | if (specs.localized) { |
4252 | 28 | options |= float_reader_base::allow_thsep; |
4253 | 28 | } |
4254 | | |
4255 | 1.05k | SCN_GCC_COMPAT_PUSH |
4256 | 1.05k | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") |
4257 | | |
4258 | 1.05k | switch (specs.type) { |
4259 | 36 | case detail::presentation_type::float_fixed: |
4260 | 36 | return options | float_reader_base::allow_fixed; |
4261 | | |
4262 | 10 | case detail::presentation_type::float_scientific: |
4263 | 10 | return options | float_reader_base::allow_scientific; |
4264 | | |
4265 | 30 | case detail::presentation_type::float_hex: |
4266 | 30 | return options | float_reader_base::allow_hex; |
4267 | | |
4268 | 14 | case detail::presentation_type::float_general: |
4269 | 14 | return options | float_reader_base::allow_scientific | |
4270 | 14 | float_reader_base::allow_fixed; |
4271 | | |
4272 | 960 | case detail::presentation_type::none: |
4273 | 960 | return options | float_reader_base::allow_scientific | |
4274 | 960 | float_reader_base::allow_fixed | |
4275 | 960 | float_reader_base::allow_hex; |
4276 | | |
4277 | 0 | default: |
4278 | 0 | SCN_EXPECT(false); |
4279 | 1.05k | SCN_UNREACHABLE; |
4280 | 1.05k | } |
4281 | | |
4282 | | SCN_GCC_COMPAT_POP // -Wswitch-enum |
4283 | 1.05k | } scn::v4::impl::reader_impl_for_float<char>::get_options(scn::v4::detail::format_specs const&) Line | Count | Source | 4249 | 612 | { | 4250 | 612 | unsigned options{}; | 4251 | 612 | if (specs.localized) { | 4252 | 14 | options |= float_reader_base::allow_thsep; | 4253 | 14 | } | 4254 | | | 4255 | 612 | SCN_GCC_COMPAT_PUSH | 4256 | 612 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 4257 | | | 4258 | 612 | switch (specs.type) { | 4259 | 28 | case detail::presentation_type::float_fixed: | 4260 | 28 | return options | float_reader_base::allow_fixed; | 4261 | | | 4262 | 6 | case detail::presentation_type::float_scientific: | 4263 | 6 | return options | float_reader_base::allow_scientific; | 4264 | | | 4265 | 12 | case detail::presentation_type::float_hex: | 4266 | 12 | return options | float_reader_base::allow_hex; | 4267 | | | 4268 | 12 | case detail::presentation_type::float_general: | 4269 | 12 | return options | float_reader_base::allow_scientific | | 4270 | 12 | float_reader_base::allow_fixed; | 4271 | | | 4272 | 554 | case detail::presentation_type::none: | 4273 | 554 | return options | float_reader_base::allow_scientific | | 4274 | 554 | float_reader_base::allow_fixed | | 4275 | 554 | float_reader_base::allow_hex; | 4276 | | | 4277 | 0 | default: | 4278 | 0 | SCN_EXPECT(false); | 4279 | 612 | SCN_UNREACHABLE; | 4280 | 612 | } | 4281 | | | 4282 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 4283 | 612 | } |
scn::v4::impl::reader_impl_for_float<wchar_t>::get_options(scn::v4::detail::format_specs const&) Line | Count | Source | 4249 | 438 | { | 4250 | 438 | unsigned options{}; | 4251 | 438 | if (specs.localized) { | 4252 | 14 | options |= float_reader_base::allow_thsep; | 4253 | 14 | } | 4254 | | | 4255 | 438 | SCN_GCC_COMPAT_PUSH | 4256 | 438 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 4257 | | | 4258 | 438 | switch (specs.type) { | 4259 | 8 | case detail::presentation_type::float_fixed: | 4260 | 8 | return options | float_reader_base::allow_fixed; | 4261 | | | 4262 | 4 | case detail::presentation_type::float_scientific: | 4263 | 4 | return options | float_reader_base::allow_scientific; | 4264 | | | 4265 | 18 | case detail::presentation_type::float_hex: | 4266 | 18 | return options | float_reader_base::allow_hex; | 4267 | | | 4268 | 2 | case detail::presentation_type::float_general: | 4269 | 2 | return options | float_reader_base::allow_scientific | | 4270 | 2 | float_reader_base::allow_fixed; | 4271 | | | 4272 | 406 | case detail::presentation_type::none: | 4273 | 406 | return options | float_reader_base::allow_scientific | | 4274 | 406 | float_reader_base::allow_fixed | | 4275 | 406 | float_reader_base::allow_hex; | 4276 | | | 4277 | 0 | default: | 4278 | 0 | SCN_EXPECT(false); | 4279 | 438 | SCN_UNREACHABLE; | 4280 | 438 | } | 4281 | | | 4282 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 4283 | 438 | } |
|
4284 | | }; |
4285 | | |
4286 | | ///////////////////////////////////////////////////////////////// |
4287 | | // Regex reader |
4288 | | ///////////////////////////////////////////////////////////////// |
4289 | | |
4290 | | // Forward declaration for C++17 compatibility with regex disabled |
4291 | | template <typename CharT, typename Input> |
4292 | | auto read_regex_matches_impl(std::basic_string_view<CharT> pattern, |
4293 | | detail::regex_flags flags, |
4294 | | Input input, |
4295 | | basic_regex_matches<CharT>& value) |
4296 | | -> scan_expected<ranges::iterator_t<Input>>; |
4297 | | |
4298 | | #if !SCN_DISABLE_REGEX |
4299 | | |
4300 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4301 | | constexpr auto make_regex_flags(detail::regex_flags flags) |
4302 | | -> scan_expected<std::regex_constants::syntax_option_type> |
4303 | | { |
4304 | | std::regex_constants::syntax_option_type result{}; |
4305 | | if ((flags & detail::regex_flags::multiline) != detail::regex_flags::none) { |
4306 | | #if SCN_HAS_STD_REGEX_MULTILINE |
4307 | | result |= std::regex_constants::multiline; |
4308 | | #else |
4309 | | return detail::unexpected_scan_error( |
4310 | | scan_error::invalid_format_string, |
4311 | | "/m flag for regex isn't supported by regex backend"); |
4312 | | #endif |
4313 | | } |
4314 | | if ((flags & detail::regex_flags::singleline) != |
4315 | | detail::regex_flags::none) { |
4316 | | return detail::unexpected_scan_error( |
4317 | | scan_error::invalid_format_string, |
4318 | | "/s flag for regex isn't supported by regex backend"); |
4319 | | } |
4320 | | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4321 | | result |= std::regex_constants::icase; |
4322 | | } |
4323 | | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4324 | | result |= std::regex_constants::nosubs; |
4325 | | } |
4326 | | return result; |
4327 | | } |
4328 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4329 | | constexpr auto make_regex_flags(detail::regex_flags flags) |
4330 | | -> boost::regex_constants::syntax_option_type |
4331 | | { |
4332 | | boost::regex_constants::syntax_option_type result{}; |
4333 | | if ((flags & detail::regex_flags::multiline) == detail::regex_flags::none) { |
4334 | | result |= boost::regex_constants::no_mod_m; |
4335 | | } |
4336 | | if ((flags & detail::regex_flags::singleline) != |
4337 | | detail::regex_flags::none) { |
4338 | | result |= boost::regex_constants::mod_s; |
4339 | | } |
4340 | | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4341 | | result |= boost::regex_constants::icase; |
4342 | | } |
4343 | | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4344 | | result |= boost::regex_constants::nosubs; |
4345 | | } |
4346 | | return result; |
4347 | | } |
4348 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4349 | | inline auto make_regex_flags(detail::regex_flags flags) |
4350 | | -> std::pair<RE2::Options, std::string_view> |
4351 | 384 | { |
4352 | 384 | RE2::Options opt{RE2::Quiet}; |
4353 | 384 | std::string_view stringflags{}; |
4354 | | |
4355 | 384 | if ((flags & detail::regex_flags::multiline) == detail::regex_flags::none) { |
4356 | 360 | stringflags = "(?m)"; |
4357 | 360 | } |
4358 | 384 | if ((flags & detail::regex_flags::singleline) != |
4359 | 384 | detail::regex_flags::none) { |
4360 | 6 | opt.set_dot_nl(true); |
4361 | 6 | } |
4362 | 384 | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4363 | 6 | opt.set_case_sensitive(false); |
4364 | 6 | } |
4365 | 384 | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4366 | 6 | opt.set_never_capture(true); |
4367 | 6 | } |
4368 | | |
4369 | 384 | return {opt, stringflags}; |
4370 | 384 | } |
4371 | | #endif // SCN_REGEX_BACKEND == ... |
4372 | | |
4373 | | template <typename CharT, typename Input> |
4374 | | auto read_regex_string_impl(std::basic_string_view<CharT> pattern, |
4375 | | detail::regex_flags flags, |
4376 | | Input input) |
4377 | | -> scan_expected<ranges::iterator_t<Input>> |
4378 | 384 | { |
4379 | 384 | static_assert(ranges::contiguous_range<Input> && |
4380 | 384 | ranges::borrowed_range<Input> && |
4381 | 384 | std::is_same_v<ranges::range_value_t<Input>, CharT>); |
4382 | | |
4383 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4384 | | std::basic_regex<CharT> re{}; |
4385 | | try { |
4386 | | SCN_TRY(re_flags, make_regex_flags(flags)); |
4387 | | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), |
4388 | | re_flags | std::regex_constants::nosubs}; |
4389 | | } |
4390 | | catch (const std::regex_error& err) { |
4391 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4392 | | "Invalid regex"); |
4393 | | } |
4394 | | |
4395 | | std::match_results<const CharT*> matches{}; |
4396 | | try { |
4397 | | bool found = std::regex_search(input.data(), |
4398 | | input.data() + input.size(), matches, re, |
4399 | | std::regex_constants::match_continuous); |
4400 | | if (!found || matches.prefix().matched) { |
4401 | | return detail::unexpected_scan_error( |
4402 | | scan_error::invalid_scanned_value, |
4403 | | "Regular expression didn't match"); |
4404 | | } |
4405 | | } |
4406 | | catch (const std::regex_error& err) { |
4407 | | return detail::unexpected_scan_error( |
4408 | | scan_error::invalid_format_string, |
4409 | | "Regex matching failed with an error"); |
4410 | | } |
4411 | | |
4412 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4413 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4414 | | auto re = |
4415 | | #if SCN_REGEX_BOOST_USE_ICU |
4416 | | boost::make_u32regex(pattern.data(), pattern.data() + pattern.size(), |
4417 | | make_regex_flags(flags) | |
4418 | | boost::regex_constants::no_except | |
4419 | | boost::regex_constants::nosubs); |
4420 | | #else |
4421 | | boost::basic_regex<CharT>{pattern.data(), pattern.size(), |
4422 | | make_regex_flags(flags) | |
4423 | | boost::regex_constants::no_except | |
4424 | | boost::regex_constants::nosubs}; |
4425 | | #endif |
4426 | | if (re.status() != 0) { |
4427 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4428 | | "Invalid regex"); |
4429 | | } |
4430 | | |
4431 | | boost::match_results<const CharT*> matches{}; |
4432 | | try { |
4433 | | bool found = |
4434 | | #if SCN_REGEX_BOOST_USE_ICU |
4435 | | boost::u32regex_search(input.data(), input.data() + input.size(), |
4436 | | matches, re, |
4437 | | boost::regex_constants::match_continuous); |
4438 | | #else |
4439 | | boost::regex_search(input.data(), input.data() + input.size(), |
4440 | | matches, re, |
4441 | | boost::regex_constants::match_continuous); |
4442 | | #endif |
4443 | | if (!found || matches.prefix().matched) { |
4444 | | return detail::unexpected_scan_error( |
4445 | | scan_error::invalid_scanned_value, |
4446 | | "Regular expression didn't match"); |
4447 | | } |
4448 | | } |
4449 | | catch (const std::runtime_error& err) { |
4450 | | return detail::unexpected_scan_error( |
4451 | | scan_error::invalid_format_string, |
4452 | | "Regex matching failed with an error"); |
4453 | | } |
4454 | | |
4455 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4456 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4457 | | static_assert(std::is_same_v<CharT, char>); |
4458 | 384 | std::string flagged_pattern{}; |
4459 | 384 | auto re = [&]() { |
4460 | 384 | auto [opts, flagstr] = make_regex_flags(flags); |
4461 | 384 | opts.set_never_capture(true); |
4462 | 384 | if (flagstr.empty()) { |
4463 | 24 | return re2::RE2{pattern, opts}; |
4464 | 24 | } |
4465 | 360 | flagged_pattern.reserve(flagstr.size() + pattern.size()); |
4466 | 360 | flagged_pattern.append(flagstr); |
4467 | 360 | flagged_pattern.append(pattern); |
4468 | 360 | return re2::RE2{flagged_pattern, opts}; |
4469 | 384 | }(); Unexecuted instantiation: _ZZN3scn2v44impl22read_regex_string_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_ENKUlvE_clEv _ZZN3scn2v44impl22read_regex_string_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_ENKUlvE_clEv Line | Count | Source | 4459 | 384 | auto re = [&]() { | 4460 | 384 | auto [opts, flagstr] = make_regex_flags(flags); | 4461 | 384 | opts.set_never_capture(true); | 4462 | 384 | if (flagstr.empty()) { | 4463 | 24 | return re2::RE2{pattern, opts}; | 4464 | 24 | } | 4465 | 360 | flagged_pattern.reserve(flagstr.size() + pattern.size()); | 4466 | 360 | flagged_pattern.append(flagstr); | 4467 | 360 | flagged_pattern.append(pattern); | 4468 | 360 | return re2::RE2{flagged_pattern, opts}; | 4469 | 384 | }(); |
|
4470 | 384 | if (!re.ok()) { |
4471 | 144 | return detail::unexpected_scan_error( |
4472 | 144 | scan_error::invalid_format_string, |
4473 | 144 | "Failed to parse regular expression"); |
4474 | 144 | } |
4475 | | |
4476 | 240 | auto new_input = detail::make_string_view_from_pointers( |
4477 | 240 | detail::to_address(input.begin()), detail::to_address(input.end())); |
4478 | 240 | bool found = re2::RE2::Consume(&new_input, re); |
4479 | 240 | if (!found) { |
4480 | 138 | return detail::unexpected_scan_error(scan_error::invalid_scanned_value, |
4481 | 138 | "Regular expression didn't match"); |
4482 | 138 | } |
4483 | 102 | return input.begin() + ranges::distance(input.data(), new_input.data()); |
4484 | 240 | #endif // SCN_REGEX_BACKEND == ... |
4485 | 240 | } Unexecuted instantiation: _ZN3scn2v44impl22read_regex_string_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_ _ZN3scn2v44impl22read_regex_string_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_ Line | Count | Source | 4378 | 384 | { | 4379 | 384 | static_assert(ranges::contiguous_range<Input> && | 4380 | 384 | ranges::borrowed_range<Input> && | 4381 | 384 | std::is_same_v<ranges::range_value_t<Input>, CharT>); | 4382 | | | 4383 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD | 4384 | | std::basic_regex<CharT> re{}; | 4385 | | try { | 4386 | | SCN_TRY(re_flags, make_regex_flags(flags)); | 4387 | | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), | 4388 | | re_flags | std::regex_constants::nosubs}; | 4389 | | } | 4390 | | catch (const std::regex_error& err) { | 4391 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4392 | | "Invalid regex"); | 4393 | | } | 4394 | | | 4395 | | std::match_results<const CharT*> matches{}; | 4396 | | try { | 4397 | | bool found = std::regex_search(input.data(), | 4398 | | input.data() + input.size(), matches, re, | 4399 | | std::regex_constants::match_continuous); | 4400 | | if (!found || matches.prefix().matched) { | 4401 | | return detail::unexpected_scan_error( | 4402 | | scan_error::invalid_scanned_value, | 4403 | | "Regular expression didn't match"); | 4404 | | } | 4405 | | } | 4406 | | catch (const std::regex_error& err) { | 4407 | | return detail::unexpected_scan_error( | 4408 | | scan_error::invalid_format_string, | 4409 | | "Regex matching failed with an error"); | 4410 | | } | 4411 | | | 4412 | | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4413 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST | 4414 | | auto re = | 4415 | | #if SCN_REGEX_BOOST_USE_ICU | 4416 | | boost::make_u32regex(pattern.data(), pattern.data() + pattern.size(), | 4417 | | make_regex_flags(flags) | | 4418 | | boost::regex_constants::no_except | | 4419 | | boost::regex_constants::nosubs); | 4420 | | #else | 4421 | | boost::basic_regex<CharT>{pattern.data(), pattern.size(), | 4422 | | make_regex_flags(flags) | | 4423 | | boost::regex_constants::no_except | | 4424 | | boost::regex_constants::nosubs}; | 4425 | | #endif | 4426 | | if (re.status() != 0) { | 4427 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4428 | | "Invalid regex"); | 4429 | | } | 4430 | | | 4431 | | boost::match_results<const CharT*> matches{}; | 4432 | | try { | 4433 | | bool found = | 4434 | | #if SCN_REGEX_BOOST_USE_ICU | 4435 | | boost::u32regex_search(input.data(), input.data() + input.size(), | 4436 | | matches, re, | 4437 | | boost::regex_constants::match_continuous); | 4438 | | #else | 4439 | | boost::regex_search(input.data(), input.data() + input.size(), | 4440 | | matches, re, | 4441 | | boost::regex_constants::match_continuous); | 4442 | | #endif | 4443 | | if (!found || matches.prefix().matched) { | 4444 | | return detail::unexpected_scan_error( | 4445 | | scan_error::invalid_scanned_value, | 4446 | | "Regular expression didn't match"); | 4447 | | } | 4448 | | } | 4449 | | catch (const std::runtime_error& err) { | 4450 | | return detail::unexpected_scan_error( | 4451 | | scan_error::invalid_format_string, | 4452 | | "Regex matching failed with an error"); | 4453 | | } | 4454 | | | 4455 | | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4456 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 | 4457 | | static_assert(std::is_same_v<CharT, char>); | 4458 | 384 | std::string flagged_pattern{}; | 4459 | 384 | auto re = [&]() { | 4460 | 384 | auto [opts, flagstr] = make_regex_flags(flags); | 4461 | 384 | opts.set_never_capture(true); | 4462 | 384 | if (flagstr.empty()) { | 4463 | 384 | return re2::RE2{pattern, opts}; | 4464 | 384 | } | 4465 | 384 | flagged_pattern.reserve(flagstr.size() + pattern.size()); | 4466 | 384 | flagged_pattern.append(flagstr); | 4467 | 384 | flagged_pattern.append(pattern); | 4468 | 384 | return re2::RE2{flagged_pattern, opts}; | 4469 | 384 | }(); | 4470 | 384 | if (!re.ok()) { | 4471 | 144 | return detail::unexpected_scan_error( | 4472 | 144 | scan_error::invalid_format_string, | 4473 | 144 | "Failed to parse regular expression"); | 4474 | 144 | } | 4475 | | | 4476 | 240 | auto new_input = detail::make_string_view_from_pointers( | 4477 | 240 | detail::to_address(input.begin()), detail::to_address(input.end())); | 4478 | 240 | bool found = re2::RE2::Consume(&new_input, re); | 4479 | 240 | if (!found) { | 4480 | 138 | return detail::unexpected_scan_error(scan_error::invalid_scanned_value, | 4481 | 138 | "Regular expression didn't match"); | 4482 | 138 | } | 4483 | 102 | return input.begin() + ranges::distance(input.data(), new_input.data()); | 4484 | 240 | #endif // SCN_REGEX_BACKEND == ... | 4485 | 240 | } |
|
4486 | | |
4487 | | template <typename CharT, typename Input> |
4488 | | auto read_regex_matches_impl(std::basic_string_view<CharT> pattern, |
4489 | | detail::regex_flags flags, |
4490 | | Input input, |
4491 | | basic_regex_matches<CharT>& value) |
4492 | | -> scan_expected<ranges::iterator_t<Input>> |
4493 | 0 | { |
4494 | 0 | static_assert(ranges::contiguous_range<Input> && |
4495 | 0 | ranges::borrowed_range<Input> && |
4496 | 0 | std::is_same_v<ranges::range_value_t<Input>, CharT>); |
4497 | |
|
4498 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4499 | | std::basic_regex<CharT> re{}; |
4500 | | try { |
4501 | | SCN_TRY(re_flags, make_regex_flags(flags)); |
4502 | | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), re_flags}; |
4503 | | } |
4504 | | catch (const std::regex_error& err) { |
4505 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4506 | | "Invalid regex"); |
4507 | | } |
4508 | | |
4509 | | std::match_results<const CharT*> matches{}; |
4510 | | try { |
4511 | | bool found = std::regex_search(input.data(), |
4512 | | input.data() + input.size(), matches, re, |
4513 | | std::regex_constants::match_continuous); |
4514 | | if (!found || matches.prefix().matched) { |
4515 | | return detail::unexpected_scan_error( |
4516 | | scan_error::invalid_scanned_value, |
4517 | | "Regular expression didn't match"); |
4518 | | } |
4519 | | } |
4520 | | catch (const std::regex_error& err) { |
4521 | | return detail::unexpected_scan_error( |
4522 | | scan_error::invalid_format_string, |
4523 | | "Regex matching failed with an error"); |
4524 | | } |
4525 | | |
4526 | | value.resize(matches.size()); |
4527 | | std::transform(matches.begin(), matches.end(), value.begin(), |
4528 | | [](auto&& match) -> std::optional<basic_regex_match<CharT>> { |
4529 | | if (!match.matched) |
4530 | | return std::nullopt; |
4531 | | return detail::make_string_view_from_pointers( |
4532 | | match.first, match.second); |
4533 | | }); |
4534 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4535 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4536 | | std::vector<std::basic_string<CharT>> names; |
4537 | | for (size_t i = 0; i < pattern.size();) { |
4538 | | if constexpr (std::is_same_v<CharT, char>) { |
4539 | | i = pattern.find("(?<", i); |
4540 | | } |
4541 | | else { |
4542 | | i = pattern.find(L"(?<", i); |
4543 | | } |
4544 | | |
4545 | | if (i == std::basic_string_view<CharT>::npos) { |
4546 | | break; |
4547 | | } |
4548 | | if (i > 0 && pattern[i - 1] == CharT{'\\'}) { |
4549 | | if (i == 1 || pattern[i - 2] != CharT{'\\'}) { |
4550 | | i += 3; |
4551 | | continue; |
4552 | | } |
4553 | | } |
4554 | | |
4555 | | i += 3; |
4556 | | auto end_i = pattern.find(CharT{'>'}, i); |
4557 | | if (end_i == std::basic_string_view<CharT>::npos) { |
4558 | | break; |
4559 | | } |
4560 | | names.emplace_back(pattern.substr(i, end_i - i)); |
4561 | | } |
4562 | | |
4563 | | auto re = |
4564 | | #if SCN_REGEX_BOOST_USE_ICU |
4565 | | boost::make_u32regex( |
4566 | | pattern.data(), pattern.data() + pattern.size(), |
4567 | | make_regex_flags(flags) | boost::regex_constants::no_except); |
4568 | | #else |
4569 | | boost::basic_regex<CharT>{ |
4570 | | pattern.data(), pattern.size(), |
4571 | | make_regex_flags(flags) | boost::regex_constants::no_except}; |
4572 | | #endif |
4573 | | if (re.status() != 0) { |
4574 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4575 | | "Invalid regex"); |
4576 | | } |
4577 | | |
4578 | | boost::match_results<const CharT*> matches{}; |
4579 | | try { |
4580 | | bool found = |
4581 | | #if SCN_REGEX_BOOST_USE_ICU |
4582 | | boost::u32regex_search(input.data(), input.data() + input.size(), |
4583 | | matches, re, |
4584 | | boost::regex_constants::match_continuous); |
4585 | | #else |
4586 | | boost::regex_search(input.data(), input.data() + input.size(), |
4587 | | matches, re, |
4588 | | boost::regex_constants::match_continuous); |
4589 | | #endif |
4590 | | if (!found || matches.prefix().matched) { |
4591 | | return detail::unexpected_scan_error( |
4592 | | scan_error::invalid_scanned_value, |
4593 | | "Regular expression didn't match"); |
4594 | | } |
4595 | | } |
4596 | | catch (const std::runtime_error& err) { |
4597 | | return detail::unexpected_scan_error( |
4598 | | scan_error::invalid_format_string, |
4599 | | "Regex matching failed with an error"); |
4600 | | } |
4601 | | |
4602 | | value.resize(matches.size()); |
4603 | | std::transform( |
4604 | | matches.begin(), matches.end(), value.begin(), |
4605 | | [&](auto&& match) -> std::optional<basic_regex_match<CharT>> { |
4606 | | if (!match.matched) |
4607 | | return std::nullopt; |
4608 | | auto sv = detail::make_string_view_from_pointers(match.first, |
4609 | | match.second); |
4610 | | |
4611 | | if (auto name_it = std::find_if( |
4612 | | names.begin(), names.end(), |
4613 | | [&](const auto& name) { return match == matches[name]; }); |
4614 | | name_it != names.end()) { |
4615 | | return basic_regex_match<CharT>{sv, *name_it}; |
4616 | | } |
4617 | | return sv; |
4618 | | }); |
4619 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4620 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4621 | | static_assert(std::is_same_v<CharT, char>); |
4622 | 0 | std::string flagged_pattern{}; |
4623 | 0 | auto re = [&]() { |
4624 | 0 | auto [opts, flagstr] = make_regex_flags(flags); |
4625 | 0 | if (flagstr.empty()) { |
4626 | 0 | return re2::RE2{pattern, opts}; |
4627 | 0 | } |
4628 | 0 | flagged_pattern.reserve(flagstr.size() + pattern.size()); |
4629 | 0 | flagged_pattern.append(flagstr); |
4630 | 0 | flagged_pattern.append(pattern); |
4631 | 0 | return re2::RE2{flagged_pattern, opts}; |
4632 | 0 | }(); Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlvE_clEv |
4633 | 0 | if (!re.ok()) { |
4634 | 0 | return detail::unexpected_scan_error( |
4635 | 0 | scan_error::invalid_format_string, |
4636 | 0 | "Failed to parse regular expression"); |
4637 | 0 | } |
4638 | | // TODO: Optimize into a single batch allocation |
4639 | 0 | const auto max_matches_n = |
4640 | 0 | static_cast<size_t>(re.NumberOfCapturingGroups()); |
4641 | 0 | std::vector<std::optional<std::string_view>> matches(max_matches_n); |
4642 | 0 | std::vector<re2::RE2::Arg> match_args(max_matches_n); |
4643 | 0 | std::vector<re2::RE2::Arg*> match_argptrs(max_matches_n); |
4644 | 0 | std::transform(matches.begin(), matches.end(), match_args.begin(), |
4645 | 0 | [](auto& val) { return re2::RE2::Arg{&val}; });Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlRSE_E_clINS3_8optionalIS7_EEEEDaSM_ Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlRSH_E_clINSF_8optionalINSG_IcNSI_IcEEEEEEEEDaSQ_ |
4646 | 0 | std::transform(match_args.begin(), match_args.end(), match_argptrs.begin(), |
4647 | 0 | [](auto& arg) { return &arg; });Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlRSE_E0_clIN3re23RE23ArgEEEDaSM_ Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlRSH_E0_clIN3re23RE23ArgEEEDaSQ_ |
4648 | 0 | auto new_input = detail::make_string_view_from_pointers( |
4649 | 0 | detail::to_address(input.begin()), detail::to_address(input.end())); |
4650 | 0 | bool found = re2::RE2::ConsumeN(&new_input, re, match_argptrs.data(), |
4651 | 0 | match_argptrs.size()); |
4652 | 0 | if (!found) { |
4653 | 0 | return detail::unexpected_scan_error(scan_error::invalid_scanned_value, |
4654 | 0 | "Regular expression didn't match"); |
4655 | 0 | } |
4656 | 0 | value.resize(matches.size() + 1); |
4657 | 0 | value[0] = |
4658 | 0 | detail::make_string_view_from_pointers(input.data(), new_input.data()); |
4659 | 0 | std::transform(matches.begin(), matches.end(), value.begin() + 1, |
4660 | 0 | [&](auto&& match) -> std::optional<regex_match> { |
4661 | 0 | if (!match) |
4662 | 0 | return std::nullopt; |
4663 | 0 | return *match; |
4664 | 0 | }); Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlOSE_E_clIRNS3_8optionalIS7_EEEENSP_INS0_17basic_regex_matchIcEEEESM_ Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlOSH_E_clIRNSF_8optionalINSG_IcNSI_IcEEEEEEEENST_INS0_17basic_regex_matchIcEEEESQ_ |
4665 | 0 | { |
4666 | 0 | const auto& capturing_groups = re.CapturingGroupNames(); |
4667 | 0 | for (size_t i = 1; i < value.size(); ++i) { |
4668 | 0 | if (auto it = capturing_groups.find(static_cast<int>(i)); |
4669 | 0 | it != capturing_groups.end()) { |
4670 | 0 | auto val = value[i]->get(); |
4671 | 0 | value[i].emplace(val, it->second); |
4672 | 0 | }; |
4673 | 0 | } |
4674 | 0 | } |
4675 | 0 | return input.begin() + ranges::distance(input.data(), new_input.data()); |
4676 | 0 | #endif // SCN_REGEX_BACKEND == ... |
4677 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EE Unexecuted instantiation: _ZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EE |
4678 | | |
4679 | | inline std::string get_unescaped_regex_pattern(std::string_view pattern) |
4680 | 450 | { |
4681 | 450 | std::string result{pattern}; |
4682 | 4.63k | for (size_t n = 0; (n = result.find("\\/", n)) != std::string::npos;) { |
4683 | 4.18k | result.replace(n, 2, "/"); |
4684 | 4.18k | ++n; |
4685 | 4.18k | } |
4686 | 450 | return result; |
4687 | 450 | } |
4688 | | inline std::wstring get_unescaped_regex_pattern(std::wstring_view pattern) |
4689 | 0 | { |
4690 | 0 | std::wstring result{pattern}; |
4691 | 0 | for (size_t n = 0; (n = result.find(L"\\/", n)) != std::wstring::npos;) { |
4692 | 0 | result.replace(n, 2, L"/"); |
4693 | 0 | ++n; |
4694 | 0 | } |
4695 | 0 | return result; |
4696 | 0 | } |
4697 | | |
4698 | | #endif // !SCN_DISABLE_REGEX |
4699 | | |
4700 | | template <typename SourceCharT> |
4701 | | struct regex_matches_reader |
4702 | | : public reader_base<regex_matches_reader<SourceCharT>, SourceCharT> { |
4703 | | void check_specs_impl(const detail::format_specs& specs, |
4704 | | reader_error_handler& eh) |
4705 | 0 | { |
4706 | 0 | detail::check_regex_type_specs(specs, eh); |
4707 | 0 | SCN_EXPECT(specs.charset_string_data != nullptr); |
4708 | 0 | SCN_EXPECT(specs.charset_string_size > 0); |
4709 | 0 | } Unexecuted instantiation: scn::v4::impl::regex_matches_reader<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Unexecuted instantiation: scn::v4::impl::regex_matches_reader<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) |
4710 | | |
4711 | | template <typename Range, typename DestCharT> |
4712 | | auto read_default(Range, |
4713 | | basic_regex_matches<DestCharT>&, |
4714 | | detail::locale_ref = {}) |
4715 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4716 | 0 | { |
4717 | 0 | return detail::unexpected_scan_error( |
4718 | 0 | scan_error::invalid_format_string, |
4719 | 0 | "No regex given in format string for scanning regex_matches"); |
4720 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_19basic_regex_matchesIT0_EENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_19basic_regex_matchesIT0_EENS9_10locale_refE |
4721 | | |
4722 | | template <typename Range, typename DestCharT> |
4723 | | auto read_specs(Range range, |
4724 | | const detail::format_specs& specs, |
4725 | | basic_regex_matches<DestCharT>& value, |
4726 | | detail::locale_ref = {}) |
4727 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4728 | 0 | { |
4729 | 0 | if constexpr (!std::is_same_v<SourceCharT, DestCharT>) { |
4730 | 0 | return detail::unexpected_scan_error( |
4731 | 0 | scan_error::invalid_format_string, |
4732 | 0 | "Cannot transcode is regex_matches_reader"); |
4733 | | } |
4734 | | else if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && |
4735 | 0 | !std::is_same_v<SourceCharT, char>) { |
4736 | 0 | return detail::unexpected_scan_error( |
4737 | 0 | scan_error::invalid_format_string, |
4738 | 0 | "Regex backend doesn't support wide strings as input"); |
4739 | | } |
4740 | 0 | else { |
4741 | 0 | if (!is_entire_source_contiguous(range)) { |
4742 | 0 | return detail::unexpected_scan_error( |
4743 | 0 | scan_error::invalid_format_string, |
4744 | 0 | "Cannot use regex with a non-contiguous source " |
4745 | 0 | "range"); |
4746 | 0 | } |
4747 | | |
4748 | 0 | auto input = get_as_contiguous(range); |
4749 | 0 | SCN_TRY(it, |
4750 | 0 | impl(input, |
4751 | 0 | specs.type == detail::presentation_type::regex_escaped, |
4752 | 0 | specs.charset_string<SourceCharT>(), |
4753 | 0 | specs.regexp_flags, value)); |
4754 | 0 | return ranges::next(range.begin(), |
4755 | 0 | ranges::distance(input.begin(), it)); |
4756 | 0 | } |
4757 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE |
4758 | | |
4759 | | private: |
4760 | | template <typename Range, typename DestCharT> |
4761 | | auto impl(Range input, |
4762 | | bool is_escaped, |
4763 | | std::basic_string_view<SourceCharT> pattern, |
4764 | | detail::regex_flags flags, |
4765 | | basic_regex_matches<DestCharT>& value) |
4766 | 0 | { |
4767 | | if constexpr (detail::is_type_disabled< |
4768 | | basic_regex_matches<DestCharT>>) { |
4769 | | SCN_EXPECT(false); |
4770 | | SCN_UNREACHABLE; |
4771 | | } |
4772 | 0 | else { |
4773 | 0 | if (is_escaped) { |
4774 | 0 | return read_regex_matches_impl<SourceCharT>( |
4775 | 0 | get_unescaped_regex_pattern(pattern), flags, input, value); |
4776 | 0 | } |
4777 | 0 | return read_regex_matches_impl(pattern, flags, input, value); |
4778 | 0 | } |
4779 | 0 | } Unexecuted instantiation: auto scn::v4::impl::regex_matches_reader<char>::impl<std::__1::basic_string_view<char, std::__1::char_traits<char> >, char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v4::detail::regex_flags, scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: auto scn::v4::impl::regex_matches_reader<char>::impl<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, bool, std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v4::detail::regex_flags, scn::v4::basic_regex_matches<char>&) |
4780 | | }; |
4781 | | |
4782 | | template <typename CharT> |
4783 | | struct reader_impl_for_regex_matches : public regex_matches_reader<CharT> {}; |
4784 | | |
4785 | | ///////////////////////////////////////////////////////////////// |
4786 | | // String reader |
4787 | | ///////////////////////////////////////////////////////////////// |
4788 | | |
4789 | | template <typename Range, typename Iterator, typename ValueCharT> |
4790 | | auto read_string_impl(Range range, |
4791 | | Iterator&& result, |
4792 | | std::basic_string<ValueCharT>& value) |
4793 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4794 | 6.78k | { |
4795 | 6.78k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); |
4796 | | |
4797 | 6.78k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); |
4798 | 6.78k | if (!validate_unicode(src.view())) { |
4799 | 1.98k | return detail::unexpected_scan_error( |
4800 | 1.98k | scan_error::invalid_scanned_value, |
4801 | 1.98k | "Invalid encoding in scanned string"); |
4802 | 1.98k | } |
4803 | | |
4804 | 4.80k | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); |
4805 | 4.80k | return SCN_MOVE(result); |
4806 | 4.80k | } Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4794 | 434 | { | 4795 | 434 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 434 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 434 | if (!validate_unicode(src.view())) { | 4799 | 200 | return detail::unexpected_scan_error( | 4800 | 200 | scan_error::invalid_scanned_value, | 4801 | 200 | "Invalid encoding in scanned string"); | 4802 | 200 | } | 4803 | | | 4804 | 234 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 234 | return SCN_MOVE(result); | 4806 | 234 | } |
_ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4794 | 264 | { | 4795 | 264 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 264 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 264 | if (!validate_unicode(src.view())) { | 4799 | 104 | return detail::unexpected_scan_error( | 4800 | 104 | scan_error::invalid_scanned_value, | 4801 | 104 | "Invalid encoding in scanned string"); | 4802 | 104 | } | 4803 | | | 4804 | 160 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 160 | return SCN_MOVE(result); | 4806 | 160 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4794 | 998 | { | 4795 | 998 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 998 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 998 | if (!validate_unicode(src.view())) { | 4799 | 326 | return detail::unexpected_scan_error( | 4800 | 326 | scan_error::invalid_scanned_value, | 4801 | 326 | "Invalid encoding in scanned string"); | 4802 | 326 | } | 4803 | | | 4804 | 672 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 672 | return SCN_MOVE(result); | 4806 | 672 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4794 | 558 | { | 4795 | 558 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 558 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 558 | if (!validate_unicode(src.view())) { | 4799 | 50 | return detail::unexpected_scan_error( | 4800 | 50 | scan_error::invalid_scanned_value, | 4801 | 50 | "Invalid encoding in scanned string"); | 4802 | 50 | } | 4803 | | | 4804 | 508 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 508 | return SCN_MOVE(result); | 4806 | 508 | } |
Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4794 | 434 | { | 4795 | 434 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 434 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 434 | if (!validate_unicode(src.view())) { | 4799 | 200 | return detail::unexpected_scan_error( | 4800 | 200 | scan_error::invalid_scanned_value, | 4801 | 200 | "Invalid encoding in scanned string"); | 4802 | 200 | } | 4803 | | | 4804 | 234 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 234 | return SCN_MOVE(result); | 4806 | 234 | } |
_ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4794 | 264 | { | 4795 | 264 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 264 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 264 | if (!validate_unicode(src.view())) { | 4799 | 104 | return detail::unexpected_scan_error( | 4800 | 104 | scan_error::invalid_scanned_value, | 4801 | 104 | "Invalid encoding in scanned string"); | 4802 | 104 | } | 4803 | | | 4804 | 160 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 160 | return SCN_MOVE(result); | 4806 | 160 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4794 | 998 | { | 4795 | 998 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 998 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 998 | if (!validate_unicode(src.view())) { | 4799 | 326 | return detail::unexpected_scan_error( | 4800 | 326 | scan_error::invalid_scanned_value, | 4801 | 326 | "Invalid encoding in scanned string"); | 4802 | 326 | } | 4803 | | | 4804 | 672 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 672 | return SCN_MOVE(result); | 4806 | 672 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4794 | 558 | { | 4795 | 558 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 558 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 558 | if (!validate_unicode(src.view())) { | 4799 | 50 | return detail::unexpected_scan_error( | 4800 | 50 | scan_error::invalid_scanned_value, | 4801 | 50 | "Invalid encoding in scanned string"); | 4802 | 50 | } | 4803 | | | 4804 | 508 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 508 | return SCN_MOVE(result); | 4806 | 508 | } |
Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4794 | 144 | { | 4795 | 144 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 144 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 144 | if (!validate_unicode(src.view())) { | 4799 | 66 | return detail::unexpected_scan_error( | 4800 | 66 | scan_error::invalid_scanned_value, | 4801 | 66 | "Invalid encoding in scanned string"); | 4802 | 66 | } | 4803 | | | 4804 | 78 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 78 | return SCN_MOVE(result); | 4806 | 78 | } |
_ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4794 | 100 | { | 4795 | 100 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 100 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 100 | if (!validate_unicode(src.view())) { | 4799 | 0 | return detail::unexpected_scan_error( | 4800 | 0 | scan_error::invalid_scanned_value, | 4801 | 0 | "Invalid encoding in scanned string"); | 4802 | 0 | } | 4803 | | | 4804 | 100 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 100 | return SCN_MOVE(result); | 4806 | 100 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4794 | 772 | { | 4795 | 772 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 772 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 772 | if (!validate_unicode(src.view())) { | 4799 | 242 | return detail::unexpected_scan_error( | 4800 | 242 | scan_error::invalid_scanned_value, | 4801 | 242 | "Invalid encoding in scanned string"); | 4802 | 242 | } | 4803 | | | 4804 | 530 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 530 | return SCN_MOVE(result); | 4806 | 530 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4794 | 122 | { | 4795 | 122 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 122 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 122 | if (!validate_unicode(src.view())) { | 4799 | 4 | return detail::unexpected_scan_error( | 4800 | 4 | scan_error::invalid_scanned_value, | 4801 | 4 | "Invalid encoding in scanned string"); | 4802 | 4 | } | 4803 | | | 4804 | 118 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 118 | return SCN_MOVE(result); | 4806 | 118 | } |
Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4794 | 144 | { | 4795 | 144 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 144 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 144 | if (!validate_unicode(src.view())) { | 4799 | 66 | return detail::unexpected_scan_error( | 4800 | 66 | scan_error::invalid_scanned_value, | 4801 | 66 | "Invalid encoding in scanned string"); | 4802 | 66 | } | 4803 | | | 4804 | 78 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 78 | return SCN_MOVE(result); | 4806 | 78 | } |
_ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4794 | 100 | { | 4795 | 100 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 100 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 100 | if (!validate_unicode(src.view())) { | 4799 | 0 | return detail::unexpected_scan_error( | 4800 | 0 | scan_error::invalid_scanned_value, | 4801 | 0 | "Invalid encoding in scanned string"); | 4802 | 0 | } | 4803 | | | 4804 | 100 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 100 | return SCN_MOVE(result); | 4806 | 100 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4794 | 772 | { | 4795 | 772 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 772 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 772 | if (!validate_unicode(src.view())) { | 4799 | 242 | return detail::unexpected_scan_error( | 4800 | 242 | scan_error::invalid_scanned_value, | 4801 | 242 | "Invalid encoding in scanned string"); | 4802 | 242 | } | 4803 | | | 4804 | 530 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 530 | return SCN_MOVE(result); | 4806 | 530 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4794 | 122 | { | 4795 | 122 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4796 | | | 4797 | 122 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4798 | 122 | if (!validate_unicode(src.view())) { | 4799 | 4 | return detail::unexpected_scan_error( | 4800 | 4 | scan_error::invalid_scanned_value, | 4801 | 4 | "Invalid encoding in scanned string"); | 4802 | 4 | } | 4803 | | | 4804 | 118 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4805 | 118 | return SCN_MOVE(result); | 4806 | 118 | } |
|
4807 | | |
4808 | | template <typename Range, typename Iterator, typename ValueCharT> |
4809 | | auto read_string_view_impl(Range range, |
4810 | | Iterator&& result, |
4811 | | std::basic_string_view<ValueCharT>& value) |
4812 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4813 | 3.39k | { |
4814 | 3.39k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); |
4815 | | |
4816 | 3.39k | auto src = [&]() { |
4817 | 3.39k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { |
4818 | 942 | return make_contiguous_buffer( |
4819 | 942 | ranges::subrange{range.begin().base(), result.base()}); |
4820 | | } |
4821 | 2.45k | else { |
4822 | 2.45k | return make_contiguous_buffer( |
4823 | 2.45k | ranges::subrange{range.begin(), result}); |
4824 | 2.45k | } |
4825 | 3.39k | }(); Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 434 | auto src = [&]() { | 4817 | 434 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 434 | return make_contiguous_buffer( | 4819 | 434 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | | else { | 4822 | | return make_contiguous_buffer( | 4823 | | ranges::subrange{range.begin(), result}); | 4824 | | } | 4825 | 434 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 264 | auto src = [&]() { | 4817 | 264 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 264 | return make_contiguous_buffer( | 4819 | 264 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | | else { | 4822 | | return make_contiguous_buffer( | 4823 | | ranges::subrange{range.begin(), result}); | 4824 | | } | 4825 | 264 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 998 | auto src = [&]() { | 4817 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | | return make_contiguous_buffer( | 4819 | | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | 998 | else { | 4822 | 998 | return make_contiguous_buffer( | 4823 | 998 | ranges::subrange{range.begin(), result}); | 4824 | 998 | } | 4825 | 998 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 558 | auto src = [&]() { | 4817 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | | return make_contiguous_buffer( | 4819 | | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | 558 | else { | 4822 | 558 | return make_contiguous_buffer( | 4823 | 558 | ranges::subrange{range.begin(), result}); | 4824 | 558 | } | 4825 | 558 | }(); |
Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 144 | auto src = [&]() { | 4817 | 144 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 144 | return make_contiguous_buffer( | 4819 | 144 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | | else { | 4822 | | return make_contiguous_buffer( | 4823 | | ranges::subrange{range.begin(), result}); | 4824 | | } | 4825 | 144 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 100 | auto src = [&]() { | 4817 | 100 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 100 | return make_contiguous_buffer( | 4819 | 100 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | | else { | 4822 | | return make_contiguous_buffer( | 4823 | | ranges::subrange{range.begin(), result}); | 4824 | | } | 4825 | 100 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 772 | auto src = [&]() { | 4817 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | | return make_contiguous_buffer( | 4819 | | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | 772 | else { | 4822 | 772 | return make_contiguous_buffer( | 4823 | 772 | ranges::subrange{range.begin(), result}); | 4824 | 772 | } | 4825 | 772 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Line | Count | Source | 4816 | 122 | auto src = [&]() { | 4817 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | | return make_contiguous_buffer( | 4819 | | ranges::subrange{range.begin().base(), result.base()}); | 4820 | | } | 4821 | 122 | else { | 4822 | 122 | return make_contiguous_buffer( | 4823 | 122 | ranges::subrange{range.begin(), result}); | 4824 | 122 | } | 4825 | 122 | }(); |
|
4826 | 3.39k | using src_type = decltype(src); |
4827 | | |
4828 | 3.39k | if (src.stores_allocated_string()) { |
4829 | 0 | return detail::unexpected_scan_error( |
4830 | 0 | scan_error::invalid_format_string, |
4831 | 0 | "Cannot read a string_view from this source range (not " |
4832 | 0 | "contiguous)"); |
4833 | 0 | } |
4834 | 3.39k | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { |
4835 | 0 | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4836 | 0 | "Cannot read a string_view from " |
4837 | 0 | "this source range (would require " |
4838 | 0 | "transcoding)"); |
4839 | | } |
4840 | 3.39k | else { |
4841 | 3.39k | const auto view = src.view(); |
4842 | 3.39k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); |
4843 | | |
4844 | 3.39k | if (!validate_unicode(value)) { |
4845 | 992 | return detail::unexpected_scan_error( |
4846 | 992 | scan_error::invalid_scanned_value, |
4847 | 992 | "Invalid encoding in scanned string_view"); |
4848 | 992 | } |
4849 | | |
4850 | 2.40k | return SCN_MOVE(result); |
4851 | 3.39k | } |
4852 | 3.39k | } Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Line | Count | Source | 4813 | 434 | { | 4814 | 434 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 434 | auto src = [&]() { | 4817 | 434 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 434 | return make_contiguous_buffer( | 4819 | 434 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 434 | } | 4821 | 434 | else { | 4822 | 434 | return make_contiguous_buffer( | 4823 | 434 | ranges::subrange{range.begin(), result}); | 4824 | 434 | } | 4825 | 434 | }(); | 4826 | 434 | using src_type = decltype(src); | 4827 | | | 4828 | 434 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 434 | else { | 4841 | 434 | const auto view = src.view(); | 4842 | 434 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 434 | if (!validate_unicode(value)) { | 4845 | 200 | return detail::unexpected_scan_error( | 4846 | 200 | scan_error::invalid_scanned_value, | 4847 | 200 | "Invalid encoding in scanned string_view"); | 4848 | 200 | } | 4849 | | | 4850 | 234 | return SCN_MOVE(result); | 4851 | 434 | } | 4852 | 434 | } |
_ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Line | Count | Source | 4813 | 264 | { | 4814 | 264 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 264 | auto src = [&]() { | 4817 | 264 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 264 | return make_contiguous_buffer( | 4819 | 264 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 264 | } | 4821 | 264 | else { | 4822 | 264 | return make_contiguous_buffer( | 4823 | 264 | ranges::subrange{range.begin(), result}); | 4824 | 264 | } | 4825 | 264 | }(); | 4826 | 264 | using src_type = decltype(src); | 4827 | | | 4828 | 264 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 264 | else { | 4841 | 264 | const auto view = src.view(); | 4842 | 264 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 264 | if (!validate_unicode(value)) { | 4845 | 104 | return detail::unexpected_scan_error( | 4846 | 104 | scan_error::invalid_scanned_value, | 4847 | 104 | "Invalid encoding in scanned string_view"); | 4848 | 104 | } | 4849 | | | 4850 | 160 | return SCN_MOVE(result); | 4851 | 264 | } | 4852 | 264 | } |
_ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Line | Count | Source | 4813 | 998 | { | 4814 | 998 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 998 | auto src = [&]() { | 4817 | 998 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 998 | return make_contiguous_buffer( | 4819 | 998 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 998 | } | 4821 | 998 | else { | 4822 | 998 | return make_contiguous_buffer( | 4823 | 998 | ranges::subrange{range.begin(), result}); | 4824 | 998 | } | 4825 | 998 | }(); | 4826 | 998 | using src_type = decltype(src); | 4827 | | | 4828 | 998 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 998 | else { | 4841 | 998 | const auto view = src.view(); | 4842 | 998 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 998 | if (!validate_unicode(value)) { | 4845 | 326 | return detail::unexpected_scan_error( | 4846 | 326 | scan_error::invalid_scanned_value, | 4847 | 326 | "Invalid encoding in scanned string_view"); | 4848 | 326 | } | 4849 | | | 4850 | 672 | return SCN_MOVE(result); | 4851 | 998 | } | 4852 | 998 | } |
_ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Line | Count | Source | 4813 | 558 | { | 4814 | 558 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 558 | auto src = [&]() { | 4817 | 558 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 558 | return make_contiguous_buffer( | 4819 | 558 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 558 | } | 4821 | 558 | else { | 4822 | 558 | return make_contiguous_buffer( | 4823 | 558 | ranges::subrange{range.begin(), result}); | 4824 | 558 | } | 4825 | 558 | }(); | 4826 | 558 | using src_type = decltype(src); | 4827 | | | 4828 | 558 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 558 | else { | 4841 | 558 | const auto view = src.view(); | 4842 | 558 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 558 | if (!validate_unicode(value)) { | 4845 | 50 | return detail::unexpected_scan_error( | 4846 | 50 | scan_error::invalid_scanned_value, | 4847 | 50 | "Invalid encoding in scanned string_view"); | 4848 | 50 | } | 4849 | | | 4850 | 508 | return SCN_MOVE(result); | 4851 | 558 | } | 4852 | 558 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Line | Count | Source | 4813 | 144 | { | 4814 | 144 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 144 | auto src = [&]() { | 4817 | 144 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 144 | return make_contiguous_buffer( | 4819 | 144 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 144 | } | 4821 | 144 | else { | 4822 | 144 | return make_contiguous_buffer( | 4823 | 144 | ranges::subrange{range.begin(), result}); | 4824 | 144 | } | 4825 | 144 | }(); | 4826 | 144 | using src_type = decltype(src); | 4827 | | | 4828 | 144 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 144 | else { | 4841 | 144 | const auto view = src.view(); | 4842 | 144 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 144 | if (!validate_unicode(value)) { | 4845 | 66 | return detail::unexpected_scan_error( | 4846 | 66 | scan_error::invalid_scanned_value, | 4847 | 66 | "Invalid encoding in scanned string_view"); | 4848 | 66 | } | 4849 | | | 4850 | 78 | return SCN_MOVE(result); | 4851 | 144 | } | 4852 | 144 | } |
_ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Line | Count | Source | 4813 | 100 | { | 4814 | 100 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 100 | auto src = [&]() { | 4817 | 100 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 100 | return make_contiguous_buffer( | 4819 | 100 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 100 | } | 4821 | 100 | else { | 4822 | 100 | return make_contiguous_buffer( | 4823 | 100 | ranges::subrange{range.begin(), result}); | 4824 | 100 | } | 4825 | 100 | }(); | 4826 | 100 | using src_type = decltype(src); | 4827 | | | 4828 | 100 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 100 | else { | 4841 | 100 | const auto view = src.view(); | 4842 | 100 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 100 | if (!validate_unicode(value)) { | 4845 | 0 | return detail::unexpected_scan_error( | 4846 | 0 | scan_error::invalid_scanned_value, | 4847 | 0 | "Invalid encoding in scanned string_view"); | 4848 | 0 | } | 4849 | | | 4850 | 100 | return SCN_MOVE(result); | 4851 | 100 | } | 4852 | 100 | } |
_ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Line | Count | Source | 4813 | 772 | { | 4814 | 772 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 772 | auto src = [&]() { | 4817 | 772 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 772 | return make_contiguous_buffer( | 4819 | 772 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 772 | } | 4821 | 772 | else { | 4822 | 772 | return make_contiguous_buffer( | 4823 | 772 | ranges::subrange{range.begin(), result}); | 4824 | 772 | } | 4825 | 772 | }(); | 4826 | 772 | using src_type = decltype(src); | 4827 | | | 4828 | 772 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 772 | else { | 4841 | 772 | const auto view = src.view(); | 4842 | 772 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 772 | if (!validate_unicode(value)) { | 4845 | 242 | return detail::unexpected_scan_error( | 4846 | 242 | scan_error::invalid_scanned_value, | 4847 | 242 | "Invalid encoding in scanned string_view"); | 4848 | 242 | } | 4849 | | | 4850 | 530 | return SCN_MOVE(result); | 4851 | 772 | } | 4852 | 772 | } |
_ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Line | Count | Source | 4813 | 122 | { | 4814 | 122 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4815 | | | 4816 | 122 | auto src = [&]() { | 4817 | 122 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4818 | 122 | return make_contiguous_buffer( | 4819 | 122 | ranges::subrange{range.begin().base(), result.base()}); | 4820 | 122 | } | 4821 | 122 | else { | 4822 | 122 | return make_contiguous_buffer( | 4823 | 122 | ranges::subrange{range.begin(), result}); | 4824 | 122 | } | 4825 | 122 | }(); | 4826 | 122 | using src_type = decltype(src); | 4827 | | | 4828 | 122 | if (src.stores_allocated_string()) { | 4829 | 0 | return detail::unexpected_scan_error( | 4830 | 0 | scan_error::invalid_format_string, | 4831 | 0 | "Cannot read a string_view from this source range (not " | 4832 | 0 | "contiguous)"); | 4833 | 0 | } | 4834 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4835 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4836 | | "Cannot read a string_view from " | 4837 | | "this source range (would require " | 4838 | | "transcoding)"); | 4839 | | } | 4840 | 122 | else { | 4841 | 122 | const auto view = src.view(); | 4842 | 122 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4843 | | | 4844 | 122 | if (!validate_unicode(value)) { | 4845 | 4 | return detail::unexpected_scan_error( | 4846 | 4 | scan_error::invalid_scanned_value, | 4847 | 4 | "Invalid encoding in scanned string_view"); | 4848 | 4 | } | 4849 | | | 4850 | 118 | return SCN_MOVE(result); | 4851 | 122 | } | 4852 | 122 | } |
|
4853 | | |
4854 | | template <typename SourceCharT> |
4855 | | class word_reader_impl { |
4856 | | public: |
4857 | | template <typename Range, typename ValueCharT> |
4858 | | auto read(Range range, std::basic_string<ValueCharT>& value) |
4859 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4860 | 4.18k | { |
4861 | 4.18k | return read_string_impl(range, read_until_classic_space(range), value); |
4862 | 4.18k | } Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4860 | 304 | { | 4861 | 304 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 304 | } |
_ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4860 | 940 | { | 4861 | 940 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 940 | } |
Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4860 | 304 | { | 4861 | 304 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 304 | } |
_ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4860 | 940 | { | 4861 | 940 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 940 | } |
Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4860 | 110 | { | 4861 | 110 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 110 | } |
_ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4860 | 736 | { | 4861 | 736 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 736 | } |
Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4860 | 110 | { | 4861 | 110 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 110 | } |
_ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4860 | 736 | { | 4861 | 736 | return read_string_impl(range, read_until_classic_space(range), value); | 4862 | 736 | } |
|
4863 | | |
4864 | | template <typename Range, typename ValueCharT> |
4865 | | auto read(Range range, std::basic_string_view<ValueCharT>& value) |
4866 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4867 | 2.09k | { |
4868 | 2.09k | return read_string_view_impl(range, read_until_classic_space(range), |
4869 | 2.09k | value); |
4870 | 2.09k | } Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4867 | 304 | { | 4868 | 304 | return read_string_view_impl(range, read_until_classic_space(range), | 4869 | 304 | value); | 4870 | 304 | } |
_ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Line | Count | Source | 4867 | 940 | { | 4868 | 940 | return read_string_view_impl(range, read_until_classic_space(range), | 4869 | 940 | value); | 4870 | 940 | } |
Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4867 | 110 | { | 4868 | 110 | return read_string_view_impl(range, read_until_classic_space(range), | 4869 | 110 | value); | 4870 | 110 | } |
_ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Line | Count | Source | 4867 | 736 | { | 4868 | 736 | return read_string_view_impl(range, read_until_classic_space(range), | 4869 | 736 | value); | 4870 | 736 | } |
|
4871 | | }; |
4872 | | |
4873 | | template <typename SourceCharT> |
4874 | | class custom_word_reader_impl { |
4875 | | public: |
4876 | | template <typename Range, typename ValueCharT> |
4877 | | auto read(Range range, |
4878 | | const detail::format_specs& specs, |
4879 | | std::basic_string<ValueCharT>& value) |
4880 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4881 | 388 | { |
4882 | 388 | if (specs.fill.size() <= sizeof(SourceCharT)) { |
4883 | 260 | return read_string_impl( |
4884 | 260 | range, |
4885 | 260 | read_until_code_unit( |
4886 | 260 | range, |
4887 | 260 | [until = specs.fill.template get_code_unit<SourceCharT>()]( |
4888 | 4.90k | SourceCharT ch) { return ch == until; }),Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlcE_clEc _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlcE_clEc Line | Count | Source | 4888 | 1.17k | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlcE_clEc Line | Count | Source | 4888 | 698 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlcE_clEc _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlcE_clEc Line | Count | Source | 4888 | 1.17k | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlcE_clEc Line | Count | Source | 4888 | 698 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlwE_clEw _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlwE_clEw Line | Count | Source | 4888 | 94 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlwE_clEw Line | Count | Source | 4888 | 486 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEEENKUlwE_clEw _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEEENKUlwE_clEw Line | Count | Source | 4888 | 94 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEEENKUlwE_clEw Line | Count | Source | 4888 | 486 | SourceCharT ch) { return ch == until; }), |
|
4889 | 260 | value); |
4890 | 260 | } |
4891 | 128 | return read_string_impl( |
4892 | 128 | range, |
4893 | 128 | read_until_code_units( |
4894 | 128 | range, specs.fill.template get_code_units<SourceCharT>()), |
4895 | 128 | value); |
4896 | 388 | } Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4881 | 82 | { | 4882 | 82 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 46 | return read_string_impl( | 4884 | 46 | range, | 4885 | 46 | read_until_code_unit( | 4886 | 46 | range, | 4887 | 46 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 46 | SourceCharT ch) { return ch == until; }), | 4889 | 46 | value); | 4890 | 46 | } | 4891 | 36 | return read_string_impl( | 4892 | 36 | range, | 4893 | 36 | read_until_code_units( | 4894 | 36 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 36 | value); | 4896 | 82 | } |
_ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4881 | 58 | { | 4882 | 58 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 30 | return read_string_impl( | 4884 | 30 | range, | 4885 | 30 | read_until_code_unit( | 4886 | 30 | range, | 4887 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 30 | SourceCharT ch) { return ch == until; }), | 4889 | 30 | value); | 4890 | 30 | } | 4891 | 28 | return read_string_impl( | 4892 | 28 | range, | 4893 | 28 | read_until_code_units( | 4894 | 28 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 28 | value); | 4896 | 58 | } |
Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4881 | 82 | { | 4882 | 82 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 46 | return read_string_impl( | 4884 | 46 | range, | 4885 | 46 | read_until_code_unit( | 4886 | 46 | range, | 4887 | 46 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 46 | SourceCharT ch) { return ch == until; }), | 4889 | 46 | value); | 4890 | 46 | } | 4891 | 36 | return read_string_impl( | 4892 | 36 | range, | 4893 | 36 | read_until_code_units( | 4894 | 36 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 36 | value); | 4896 | 82 | } |
_ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4881 | 58 | { | 4882 | 58 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 30 | return read_string_impl( | 4884 | 30 | range, | 4885 | 30 | read_until_code_unit( | 4886 | 30 | range, | 4887 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 30 | SourceCharT ch) { return ch == until; }), | 4889 | 30 | value); | 4890 | 30 | } | 4891 | 28 | return read_string_impl( | 4892 | 28 | range, | 4893 | 28 | read_until_code_units( | 4894 | 28 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 28 | value); | 4896 | 58 | } |
Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4881 | 18 | { | 4882 | 18 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 18 | return read_string_impl( | 4884 | 18 | range, | 4885 | 18 | read_until_code_unit( | 4886 | 18 | range, | 4887 | 18 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 18 | SourceCharT ch) { return ch == until; }), | 4889 | 18 | value); | 4890 | 18 | } | 4891 | 0 | return read_string_impl( | 4892 | 0 | range, | 4893 | 0 | read_until_code_units( | 4894 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 0 | value); | 4896 | 18 | } |
_ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4881 | 36 | { | 4882 | 36 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 36 | return read_string_impl( | 4884 | 36 | range, | 4885 | 36 | read_until_code_unit( | 4886 | 36 | range, | 4887 | 36 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 36 | SourceCharT ch) { return ch == until; }), | 4889 | 36 | value); | 4890 | 36 | } | 4891 | 0 | return read_string_impl( | 4892 | 0 | range, | 4893 | 0 | read_until_code_units( | 4894 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 0 | value); | 4896 | 36 | } |
Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4881 | 18 | { | 4882 | 18 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 18 | return read_string_impl( | 4884 | 18 | range, | 4885 | 18 | read_until_code_unit( | 4886 | 18 | range, | 4887 | 18 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 18 | SourceCharT ch) { return ch == until; }), | 4889 | 18 | value); | 4890 | 18 | } | 4891 | 0 | return read_string_impl( | 4892 | 0 | range, | 4893 | 0 | read_until_code_units( | 4894 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 0 | value); | 4896 | 18 | } |
_ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4881 | 36 | { | 4882 | 36 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4883 | 36 | return read_string_impl( | 4884 | 36 | range, | 4885 | 36 | read_until_code_unit( | 4886 | 36 | range, | 4887 | 36 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4888 | 36 | SourceCharT ch) { return ch == until; }), | 4889 | 36 | value); | 4890 | 36 | } | 4891 | 0 | return read_string_impl( | 4892 | 0 | range, | 4893 | 0 | read_until_code_units( | 4894 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4895 | 0 | value); | 4896 | 36 | } |
|
4897 | | |
4898 | | template <typename Range, typename ValueCharT> |
4899 | | auto read(Range range, |
4900 | | const detail::format_specs& specs, |
4901 | | std::basic_string_view<ValueCharT>& value) |
4902 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4903 | 194 | { |
4904 | 194 | if (specs.fill.size() <= sizeof(SourceCharT)) { |
4905 | 130 | return read_string_view_impl( |
4906 | 130 | range, |
4907 | 130 | read_until_code_unit( |
4908 | 130 | range, |
4909 | 130 | [until = specs.fill.template get_code_unit<SourceCharT>()]( |
4910 | 2.45k | SourceCharT ch) { return ch == until; }),Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlcE_clEc _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlcE_clEc Line | Count | Source | 4910 | 1.17k | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlcE_clEc Line | Count | Source | 4910 | 698 | SourceCharT ch) { return ch == until; }), |
Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEEENKUlwE_clEw _ZZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEEENKUlwE_clEw Line | Count | Source | 4910 | 94 | SourceCharT ch) { return ch == until; }), |
_ZZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEEENKUlwE_clEw Line | Count | Source | 4910 | 486 | SourceCharT ch) { return ch == until; }), |
|
4911 | 130 | value); |
4912 | 130 | } |
4913 | 64 | return read_string_view_impl( |
4914 | 64 | range, |
4915 | 64 | read_until_code_units( |
4916 | 64 | range, specs.fill.template get_code_units<SourceCharT>()), |
4917 | 64 | value); |
4918 | 194 | } Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 4903 | 82 | { | 4904 | 82 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4905 | 46 | return read_string_view_impl( | 4906 | 46 | range, | 4907 | 46 | read_until_code_unit( | 4908 | 46 | range, | 4909 | 46 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4910 | 46 | SourceCharT ch) { return ch == until; }), | 4911 | 46 | value); | 4912 | 46 | } | 4913 | 36 | return read_string_view_impl( | 4914 | 36 | range, | 4915 | 36 | read_until_code_units( | 4916 | 36 | range, specs.fill.template get_code_units<SourceCharT>()), | 4917 | 36 | value); | 4918 | 82 | } |
_ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 4903 | 58 | { | 4904 | 58 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4905 | 30 | return read_string_view_impl( | 4906 | 30 | range, | 4907 | 30 | read_until_code_unit( | 4908 | 30 | range, | 4909 | 30 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4910 | 30 | SourceCharT ch) { return ch == until; }), | 4911 | 30 | value); | 4912 | 30 | } | 4913 | 28 | return read_string_view_impl( | 4914 | 28 | range, | 4915 | 28 | read_until_code_units( | 4916 | 28 | range, specs.fill.template get_code_units<SourceCharT>()), | 4917 | 28 | value); | 4918 | 58 | } |
Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 4903 | 18 | { | 4904 | 18 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4905 | 18 | return read_string_view_impl( | 4906 | 18 | range, | 4907 | 18 | read_until_code_unit( | 4908 | 18 | range, | 4909 | 18 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4910 | 18 | SourceCharT ch) { return ch == until; }), | 4911 | 18 | value); | 4912 | 18 | } | 4913 | 0 | return read_string_view_impl( | 4914 | 0 | range, | 4915 | 0 | read_until_code_units( | 4916 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4917 | 0 | value); | 4918 | 18 | } |
_ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 4903 | 36 | { | 4904 | 36 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4905 | 36 | return read_string_view_impl( | 4906 | 36 | range, | 4907 | 36 | read_until_code_unit( | 4908 | 36 | range, | 4909 | 36 | [until = specs.fill.template get_code_unit<SourceCharT>()]( | 4910 | 36 | SourceCharT ch) { return ch == until; }), | 4911 | 36 | value); | 4912 | 36 | } | 4913 | 0 | return read_string_view_impl( | 4914 | 0 | range, | 4915 | 0 | read_until_code_units( | 4916 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4917 | 0 | value); | 4918 | 36 | } |
|
4919 | | }; |
4920 | | |
4921 | | #if !SCN_DISABLE_REGEX |
4922 | | template <typename SourceCharT> |
4923 | | class regex_string_reader_impl { |
4924 | | public: |
4925 | | template <typename Range, typename ValueCharT> |
4926 | | auto read(Range range, |
4927 | | std::basic_string_view<SourceCharT> pattern, |
4928 | | detail::regex_flags flags, |
4929 | | std::basic_string<ValueCharT>& value) |
4930 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4931 | 400 | { |
4932 | 400 | SCN_TRY(it, impl(range, pattern, flags)); |
4933 | 68 | return read_string_impl(range, it, value); |
4934 | 400 | } Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4931 | 72 | { | 4932 | 72 | SCN_TRY(it, impl(range, pattern, flags)); | 4933 | 0 | return read_string_impl(range, it, value); | 4934 | 72 | } |
_ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4931 | 128 | { | 4932 | 128 | SCN_TRY(it, impl(range, pattern, flags)); | 4933 | 34 | return read_string_impl(range, it, value); | 4934 | 128 | } |
Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4931 | 72 | { | 4932 | 72 | SCN_TRY(it, impl(range, pattern, flags)); | 4933 | 0 | return read_string_impl(range, it, value); | 4934 | 72 | } |
_ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4931 | 128 | { | 4932 | 128 | SCN_TRY(it, impl(range, pattern, flags)); | 4933 | 34 | return read_string_impl(range, it, value); | 4934 | 128 | } |
Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE |
4935 | | |
4936 | | template <typename Range, typename ValueCharT> |
4937 | | auto read(Range range, |
4938 | | std::basic_string_view<SourceCharT> pattern, |
4939 | | detail::regex_flags flags, |
4940 | | std::basic_string_view<ValueCharT>& value) |
4941 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4942 | 200 | { |
4943 | 200 | SCN_TRY(it, impl(range, pattern, flags)); |
4944 | 34 | return read_string_view_impl(range, it, value); |
4945 | 200 | } Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Line | Count | Source | 4942 | 72 | { | 4943 | 72 | SCN_TRY(it, impl(range, pattern, flags)); | 4944 | 0 | return read_string_view_impl(range, it, value); | 4945 | 72 | } |
_ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Line | Count | Source | 4942 | 128 | { | 4943 | 128 | SCN_TRY(it, impl(range, pattern, flags)); | 4944 | 34 | return read_string_view_impl(range, it, value); | 4945 | 128 | } |
Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE |
4946 | | |
4947 | | private: |
4948 | | template <typename Range> |
4949 | | auto impl(Range range, |
4950 | | std::basic_string_view<SourceCharT> pattern, |
4951 | | detail::regex_flags flags) |
4952 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4953 | 600 | { |
4954 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && |
4955 | 0 | !std::is_same_v<SourceCharT, char>) { |
4956 | 0 | return detail::unexpected_scan_error( |
4957 | 0 | scan_error::invalid_format_string, |
4958 | 0 | "Regex backend doesn't support wide strings as input"); |
4959 | | } |
4960 | 600 | else { |
4961 | 600 | if (!is_entire_source_contiguous(range)) { |
4962 | 216 | return detail::unexpected_scan_error( |
4963 | 216 | scan_error::invalid_format_string, |
4964 | 216 | "Cannot use regex with a non-contiguous source " |
4965 | 216 | "range"); |
4966 | 216 | } |
4967 | | |
4968 | 384 | auto input = get_as_contiguous(range); |
4969 | 384 | SCN_TRY(it, |
4970 | 102 | read_regex_string_impl<SourceCharT>(pattern, flags, input)); |
4971 | 102 | return ranges::next(range.begin(), |
4972 | 102 | ranges::distance(input.begin(), it)); |
4973 | 384 | } |
4974 | 600 | } Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsE _ZN3scn2v44impl24regex_string_reader_implIcE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsE Line | Count | Source | 4953 | 216 | { | 4954 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 4955 | | !std::is_same_v<SourceCharT, char>) { | 4956 | | return detail::unexpected_scan_error( | 4957 | | scan_error::invalid_format_string, | 4958 | | "Regex backend doesn't support wide strings as input"); | 4959 | | } | 4960 | 216 | else { | 4961 | 216 | if (!is_entire_source_contiguous(range)) { | 4962 | 216 | return detail::unexpected_scan_error( | 4963 | 216 | scan_error::invalid_format_string, | 4964 | 216 | "Cannot use regex with a non-contiguous source " | 4965 | 216 | "range"); | 4966 | 216 | } | 4967 | | | 4968 | 0 | auto input = get_as_contiguous(range); | 4969 | 0 | SCN_TRY(it, | 4970 | 0 | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 4971 | 0 | return ranges::next(range.begin(), | 4972 | 0 | ranges::distance(input.begin(), it)); | 4973 | 0 | } | 4974 | 216 | } |
_ZN3scn2v44impl24regex_string_reader_implIcE4implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsE Line | Count | Source | 4953 | 384 | { | 4954 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 4955 | | !std::is_same_v<SourceCharT, char>) { | 4956 | | return detail::unexpected_scan_error( | 4957 | | scan_error::invalid_format_string, | 4958 | | "Regex backend doesn't support wide strings as input"); | 4959 | | } | 4960 | 384 | else { | 4961 | 384 | if (!is_entire_source_contiguous(range)) { | 4962 | 0 | return detail::unexpected_scan_error( | 4963 | 0 | scan_error::invalid_format_string, | 4964 | 0 | "Cannot use regex with a non-contiguous source " | 4965 | 0 | "range"); | 4966 | 0 | } | 4967 | | | 4968 | 384 | auto input = get_as_contiguous(range); | 4969 | 384 | SCN_TRY(it, | 4970 | 102 | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 4971 | 102 | return ranges::next(range.begin(), | 4972 | 102 | ranges::distance(input.begin(), it)); | 4973 | 384 | } | 4974 | 384 | } |
Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsE |
4975 | | }; |
4976 | | #endif |
4977 | | |
4978 | | template <typename SourceCharT> |
4979 | | class character_reader_impl { |
4980 | | public: |
4981 | | // Note: no localized version, |
4982 | | // since it's equivalent in behavior |
4983 | | |
4984 | | template <typename Range, typename ValueCharT> |
4985 | | auto read(Range range, std::basic_string<ValueCharT>& value) |
4986 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4987 | 128 | { |
4988 | 128 | return read_impl( |
4989 | 128 | range, |
4990 | 128 | [&](const auto& rng) { |
4991 | 128 | return read_string_impl(rng, read_all(rng), value); |
4992 | 128 | }, Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4990 | 48 | [&](const auto& rng) { | 4991 | 48 | return read_string_impl(rng, read_all(rng), value); | 4992 | 48 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4990 | 48 | [&](const auto& rng) { | 4991 | 48 | return read_string_impl(rng, read_all(rng), value); | 4992 | 48 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4990 | 16 | [&](const auto& rng) { | 4991 | 16 | return read_string_impl(rng, read_all(rng), value); | 4992 | 16 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 4990 | 16 | [&](const auto& rng) { | 4991 | 16 | return read_string_impl(rng, read_all(rng), value); | 4992 | 16 | }, |
|
4993 | 128 | detail::priority_tag<1>{}); |
4994 | 128 | } Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4987 | 48 | { | 4988 | 48 | return read_impl( | 4989 | 48 | range, | 4990 | 48 | [&](const auto& rng) { | 4991 | 48 | return read_string_impl(rng, read_all(rng), value); | 4992 | 48 | }, | 4993 | 48 | detail::priority_tag<1>{}); | 4994 | 48 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4987 | 48 | { | 4988 | 48 | return read_impl( | 4989 | 48 | range, | 4990 | 48 | [&](const auto& rng) { | 4991 | 48 | return read_string_impl(rng, read_all(rng), value); | 4992 | 48 | }, | 4993 | 48 | detail::priority_tag<1>{}); | 4994 | 48 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4987 | 16 | { | 4988 | 16 | return read_impl( | 4989 | 16 | range, | 4990 | 16 | [&](const auto& rng) { | 4991 | 16 | return read_string_impl(rng, read_all(rng), value); | 4992 | 16 | }, | 4993 | 16 | detail::priority_tag<1>{}); | 4994 | 16 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4987 | 16 | { | 4988 | 16 | return read_impl( | 4989 | 16 | range, | 4990 | 16 | [&](const auto& rng) { | 4991 | 16 | return read_string_impl(rng, read_all(rng), value); | 4992 | 16 | }, | 4993 | 16 | detail::priority_tag<1>{}); | 4994 | 16 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE |
4995 | | |
4996 | | template <typename Range, typename ValueCharT> |
4997 | | auto read(Range range, std::basic_string_view<ValueCharT>& value) |
4998 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4999 | 64 | { |
5000 | 64 | return read_impl( |
5001 | 64 | range, |
5002 | 64 | [&](const auto& rng) { |
5003 | 64 | return read_string_view_impl(rng, read_all(rng), value); |
5004 | 64 | }, Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Line | Count | Source | 5002 | 48 | [&](const auto& rng) { | 5003 | 48 | return read_string_view_impl(rng, read_all(rng), value); | 5004 | 48 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Line | Count | Source | 5002 | 16 | [&](const auto& rng) { | 5003 | 16 | return read_string_view_impl(rng, read_all(rng), value); | 5004 | 16 | }, |
|
5005 | 64 | detail::priority_tag<1>{}); |
5006 | 64 | } Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4999 | 48 | { | 5000 | 48 | return read_impl( | 5001 | 48 | range, | 5002 | 48 | [&](const auto& rng) { | 5003 | 48 | return read_string_view_impl(rng, read_all(rng), value); | 5004 | 48 | }, | 5005 | 48 | detail::priority_tag<1>{}); | 5006 | 48 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4999 | 16 | { | 5000 | 16 | return read_impl( | 5001 | 16 | range, | 5002 | 16 | [&](const auto& rng) { | 5003 | 16 | return read_string_view_impl(rng, read_all(rng), value); | 5004 | 16 | }, | 5005 | 16 | detail::priority_tag<1>{}); | 5006 | 16 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE |
5007 | | |
5008 | | private: |
5009 | | template <typename View, typename ReadCb> |
5010 | | static auto read_impl(const take_width_view<View>& range, |
5011 | | ReadCb&& read_cb, |
5012 | | detail::priority_tag<1>) |
5013 | | -> scan_expected<ranges::const_iterator_t<take_width_view<View>&>> |
5014 | 192 | { |
5015 | 192 | return read_cb(range); |
5016 | 192 | } Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5014 | 48 | { | 5015 | 48 | return read_cb(range); | 5016 | 48 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5014 | 48 | { | 5015 | 48 | return read_cb(range); | 5016 | 48 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5014 | 48 | { | 5015 | 48 | return read_cb(range); | 5016 | 48 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5014 | 16 | { | 5015 | 16 | return read_cb(range); | 5016 | 16 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5014 | 16 | { | 5015 | 16 | return read_cb(range); | 5016 | 16 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5014 | 16 | { | 5015 | 16 | return read_cb(range); | 5016 | 16 | } |
|
5017 | | |
5018 | | template <typename Range, typename ReadCb> |
5019 | | static auto read_impl(Range, ReadCb&&, detail::priority_tag<0>) |
5020 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5021 | 0 | { |
5022 | 0 | return detail::unexpected_scan_error( |
5023 | 0 | scan_error::invalid_format_string, |
5024 | 0 | "Cannot read characters {:c} without maximum field width"); |
5025 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE |
5026 | | }; |
5027 | | |
5028 | | struct nonascii_specs_handler { |
5029 | | void on_charset_single(char32_t cp) |
5030 | 367k | { |
5031 | 367k | on_charset_range(cp, cp + 1); |
5032 | 367k | } |
5033 | | |
5034 | | void on_charset_range(char32_t begin, char32_t end) |
5035 | 371k | { |
5036 | 371k | if (end <= 127) { |
5037 | 191k | return; |
5038 | 191k | } |
5039 | | |
5040 | 31.9M | for (auto& elem : extra_ranges) { |
5041 | | // TODO: check for overlap |
5042 | 31.9M | if (elem.first == end) { |
5043 | 516 | elem.first = begin; |
5044 | 516 | return; |
5045 | 516 | } |
5046 | | |
5047 | 31.9M | if (elem.second == begin) { |
5048 | 1.31k | elem.second = end; |
5049 | 1.31k | return; |
5050 | 1.31k | } |
5051 | 31.9M | } |
5052 | | |
5053 | 177k | extra_ranges.push_back(std::make_pair(begin, end)); |
5054 | 177k | } |
5055 | | |
5056 | | constexpr void on_charset_inverted() const |
5057 | 654 | { |
5058 | | // no-op |
5059 | 654 | } |
5060 | | |
5061 | | constexpr void on_error(const char* msg) |
5062 | 0 | { |
5063 | 0 | on_error(scan_error{scan_error::invalid_format_string, msg}); |
5064 | 0 | } |
5065 | | constexpr void on_error(scan_error e) |
5066 | 0 | { |
5067 | 0 | SCN_UNLIKELY_ATTR |
5068 | 0 | err = unexpected(e); |
5069 | 0 | } |
5070 | | |
5071 | | constexpr scan_expected<void> get_error() const |
5072 | 378k | { |
5073 | 378k | return err; |
5074 | 378k | } |
5075 | | |
5076 | | std::vector<std::pair<char32_t, char32_t>> extra_ranges; |
5077 | | scan_expected<void> err; |
5078 | | }; |
5079 | | |
5080 | | template <typename SourceCharT> |
5081 | | class character_set_reader_impl { |
5082 | | public: |
5083 | | template <typename Range, typename ValueCharT> |
5084 | | auto read(Range range, |
5085 | | const detail::format_specs& specs, |
5086 | | std::basic_string<ValueCharT>& value) |
5087 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5088 | 2.76k | { |
5089 | 2.76k | auto it = read_source_impl(range, {specs}); |
5090 | 2.76k | if (SCN_UNLIKELY(!it)) { |
5091 | 748 | return unexpected(it.error()); |
5092 | 748 | } |
5093 | | |
5094 | 2.02k | return read_string_impl(range, *it, value); |
5095 | 2.76k | } Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5088 | 276 | { | 5089 | 276 | auto it = read_source_impl(range, {specs}); | 5090 | 276 | if (SCN_UNLIKELY(!it)) { | 5091 | 12 | return unexpected(it.error()); | 5092 | 12 | } | 5093 | | | 5094 | 264 | return read_string_impl(range, *it, value); | 5095 | 276 | } |
_ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5088 | 860 | { | 5089 | 860 | auto it = read_source_impl(range, {specs}); | 5090 | 860 | if (SCN_UNLIKELY(!it)) { | 5091 | 336 | return unexpected(it.error()); | 5092 | 336 | } | 5093 | | | 5094 | 524 | return read_string_impl(range, *it, value); | 5095 | 860 | } |
Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5088 | 276 | { | 5089 | 276 | auto it = read_source_impl(range, {specs}); | 5090 | 276 | if (SCN_UNLIKELY(!it)) { | 5091 | 12 | return unexpected(it.error()); | 5092 | 12 | } | 5093 | | | 5094 | 264 | return read_string_impl(range, *it, value); | 5095 | 276 | } |
_ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5088 | 860 | { | 5089 | 860 | auto it = read_source_impl(range, {specs}); | 5090 | 860 | if (SCN_UNLIKELY(!it)) { | 5091 | 336 | return unexpected(it.error()); | 5092 | 336 | } | 5093 | | | 5094 | 524 | return read_string_impl(range, *it, value); | 5095 | 860 | } |
Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5088 | 110 | { | 5089 | 110 | auto it = read_source_impl(range, {specs}); | 5090 | 110 | if (SCN_UNLIKELY(!it)) { | 5091 | 10 | return unexpected(it.error()); | 5092 | 10 | } | 5093 | | | 5094 | 100 | return read_string_impl(range, *it, value); | 5095 | 110 | } |
_ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5088 | 138 | { | 5089 | 138 | auto it = read_source_impl(range, {specs}); | 5090 | 138 | if (SCN_UNLIKELY(!it)) { | 5091 | 16 | return unexpected(it.error()); | 5092 | 16 | } | 5093 | | | 5094 | 122 | return read_string_impl(range, *it, value); | 5095 | 138 | } |
Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5088 | 110 | { | 5089 | 110 | auto it = read_source_impl(range, {specs}); | 5090 | 110 | if (SCN_UNLIKELY(!it)) { | 5091 | 10 | return unexpected(it.error()); | 5092 | 10 | } | 5093 | | | 5094 | 100 | return read_string_impl(range, *it, value); | 5095 | 110 | } |
_ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5088 | 138 | { | 5089 | 138 | auto it = read_source_impl(range, {specs}); | 5090 | 138 | if (SCN_UNLIKELY(!it)) { | 5091 | 16 | return unexpected(it.error()); | 5092 | 16 | } | 5093 | | | 5094 | 122 | return read_string_impl(range, *it, value); | 5095 | 138 | } |
|
5096 | | |
5097 | | template <typename Range, typename ValueCharT> |
5098 | | auto read(Range range, |
5099 | | const detail::format_specs& specs, |
5100 | | std::basic_string_view<ValueCharT>& value) |
5101 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5102 | 1.38k | { |
5103 | 1.38k | auto it = read_source_impl(range, {specs}); |
5104 | 1.38k | if (SCN_UNLIKELY(!it)) { |
5105 | 374 | return unexpected(it.error()); |
5106 | 374 | } |
5107 | | |
5108 | 1.01k | return read_string_view_impl(range, *it, value); |
5109 | 1.38k | } Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 5102 | 276 | { | 5103 | 276 | auto it = read_source_impl(range, {specs}); | 5104 | 276 | if (SCN_UNLIKELY(!it)) { | 5105 | 12 | return unexpected(it.error()); | 5106 | 12 | } | 5107 | | | 5108 | 264 | return read_string_view_impl(range, *it, value); | 5109 | 276 | } |
_ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 5102 | 860 | { | 5103 | 860 | auto it = read_source_impl(range, {specs}); | 5104 | 860 | if (SCN_UNLIKELY(!it)) { | 5105 | 336 | return unexpected(it.error()); | 5106 | 336 | } | 5107 | | | 5108 | 524 | return read_string_view_impl(range, *it, value); | 5109 | 860 | } |
Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 5102 | 110 | { | 5103 | 110 | auto it = read_source_impl(range, {specs}); | 5104 | 110 | if (SCN_UNLIKELY(!it)) { | 5105 | 10 | return unexpected(it.error()); | 5106 | 10 | } | 5107 | | | 5108 | 100 | return read_string_view_impl(range, *it, value); | 5109 | 110 | } |
_ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 5102 | 138 | { | 5103 | 138 | auto it = read_source_impl(range, {specs}); | 5104 | 138 | if (SCN_UNLIKELY(!it)) { | 5105 | 16 | return unexpected(it.error()); | 5106 | 16 | } | 5107 | | | 5108 | 122 | return read_string_view_impl(range, *it, value); | 5109 | 138 | } |
|
5110 | | |
5111 | | private: |
5112 | | struct specs_helper { |
5113 | 4.15k | constexpr specs_helper(const detail::format_specs& s) : specs(s) {}scn::v4::impl::character_set_reader_impl<char>::specs_helper::specs_helper(scn::v4::detail::format_specs const&) Line | Count | Source | 5113 | 3.40k | constexpr specs_helper(const detail::format_specs& s) : specs(s) {} |
scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::specs_helper(scn::v4::detail::format_specs const&) Line | Count | Source | 5113 | 744 | constexpr specs_helper(const detail::format_specs& s) : specs(s) {} |
|
5114 | | |
5115 | | constexpr bool is_char_set_in_literals(char ch) const |
5116 | 252k | { |
5117 | 252k | SCN_EXPECT(is_ascii_char(ch)); |
5118 | 252k | const auto val = |
5119 | 252k | static_cast<unsigned>(static_cast<unsigned char>(ch)); |
5120 | 252k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> |
5121 | 252k | (val % 8)) & |
5122 | 252k | 1u; |
5123 | 252k | } scn::v4::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_literals(char) const Line | Count | Source | 5116 | 244k | { | 5117 | 244k | SCN_EXPECT(is_ascii_char(ch)); | 5118 | 244k | const auto val = | 5119 | 244k | static_cast<unsigned>(static_cast<unsigned char>(ch)); | 5120 | 244k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> | 5121 | 244k | (val % 8)) & | 5122 | 244k | 1u; | 5123 | 244k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_literals(char) const Line | Count | Source | 5116 | 8.08k | { | 5117 | 8.08k | SCN_EXPECT(is_ascii_char(ch)); | 5118 | 8.08k | const auto val = | 5119 | 8.08k | static_cast<unsigned>(static_cast<unsigned char>(ch)); | 5120 | 8.08k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> | 5121 | 8.08k | (val % 8)) & | 5122 | 8.08k | 1u; | 5123 | 8.08k | } |
|
5124 | | |
5125 | | bool is_char_set_in_extra_literals(char32_t cp) const |
5126 | 38.7k | { |
5127 | | // TODO: binary search? |
5128 | 38.7k | if (nonascii.extra_ranges.empty()) { |
5129 | 0 | return false; |
5130 | 0 | } |
5131 | | |
5132 | 38.7k | const auto cp_val = static_cast<uint32_t>(cp); |
5133 | 38.7k | return std::find_if( |
5134 | 38.7k | nonascii.extra_ranges.begin(), |
5135 | 38.7k | nonascii.extra_ranges.end(), |
5136 | 7.12M | [cp_val](const auto& pair) noexcept { |
5137 | 7.12M | return static_cast<uint32_t>(pair.first) <= cp_val && |
5138 | 7.12M | static_cast<uint32_t>(pair.second) > cp_val; |
5139 | 7.12M | }) != nonascii.extra_ranges.end(); auto scn::v4::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_extra_literals(char32_t) const::{lambda(auto:1 const&)#1}::operator()<std::__1::pair<char32_t, char32_t> >(std::__1::pair<char32_t, char32_t> const&) constLine | Count | Source | 5136 | 7.11M | [cp_val](const auto& pair) noexcept { | 5137 | 7.11M | return static_cast<uint32_t>(pair.first) <= cp_val && | 5138 | 7.11M | static_cast<uint32_t>(pair.second) > cp_val; | 5139 | 7.11M | }) != nonascii.extra_ranges.end(); |
auto scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_extra_literals(char32_t) const::{lambda(auto:1 const&)#1}::operator()<std::__1::pair<char32_t, char32_t> >(std::__1::pair<char32_t, char32_t> const&) constLine | Count | Source | 5136 | 10.1k | [cp_val](const auto& pair) noexcept { | 5137 | 10.1k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5138 | 10.1k | static_cast<uint32_t>(pair.second) > cp_val; | 5139 | 10.1k | }) != nonascii.extra_ranges.end(); |
|
5140 | 38.7k | } scn::v4::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_extra_literals(char32_t) const Line | Count | Source | 5126 | 37.3k | { | 5127 | | // TODO: binary search? | 5128 | 37.3k | if (nonascii.extra_ranges.empty()) { | 5129 | 0 | return false; | 5130 | 0 | } | 5131 | | | 5132 | 37.3k | const auto cp_val = static_cast<uint32_t>(cp); | 5133 | 37.3k | return std::find_if( | 5134 | 37.3k | nonascii.extra_ranges.begin(), | 5135 | 37.3k | nonascii.extra_ranges.end(), | 5136 | 37.3k | [cp_val](const auto& pair) noexcept { | 5137 | 37.3k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5138 | 37.3k | static_cast<uint32_t>(pair.second) > cp_val; | 5139 | 37.3k | }) != nonascii.extra_ranges.end(); | 5140 | 37.3k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_extra_literals(char32_t) const Line | Count | Source | 5126 | 1.44k | { | 5127 | | // TODO: binary search? | 5128 | 1.44k | if (nonascii.extra_ranges.empty()) { | 5129 | 0 | return false; | 5130 | 0 | } | 5131 | | | 5132 | 1.44k | const auto cp_val = static_cast<uint32_t>(cp); | 5133 | 1.44k | return std::find_if( | 5134 | 1.44k | nonascii.extra_ranges.begin(), | 5135 | 1.44k | nonascii.extra_ranges.end(), | 5136 | 1.44k | [cp_val](const auto& pair) noexcept { | 5137 | 1.44k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5138 | 1.44k | static_cast<uint32_t>(pair.second) > cp_val; | 5139 | 1.44k | }) != nonascii.extra_ranges.end(); | 5140 | 1.44k | } |
|
5141 | | |
5142 | | scan_expected<void> handle_nonascii() |
5143 | 4.15k | { |
5144 | 4.15k | if (!specs.charset_has_nonascii) { |
5145 | 810 | return {}; |
5146 | 810 | } |
5147 | | |
5148 | 3.34k | auto charset_string = specs.charset_string<SourceCharT>(); |
5149 | 3.34k | auto it = detail::to_address(charset_string.begin()); |
5150 | 3.34k | auto set = detail::parse_presentation_set( |
5151 | 3.34k | it, detail::to_address(charset_string.end()), nonascii); |
5152 | 3.34k | SCN_TRY_DISCARD(nonascii.get_error()); |
5153 | 3.34k | SCN_ENSURE(it == detail::to_address(charset_string.end())); |
5154 | 3.34k | SCN_ENSURE(set == charset_string); |
5155 | | |
5156 | 3.34k | std::sort(nonascii.extra_ranges.begin(), |
5157 | 3.34k | nonascii.extra_ranges.end()); |
5158 | 3.34k | return {}; |
5159 | 3.34k | } scn::v4::impl::character_set_reader_impl<char>::specs_helper::handle_nonascii() Line | Count | Source | 5143 | 3.40k | { | 5144 | 3.40k | if (!specs.charset_has_nonascii) { | 5145 | 606 | return {}; | 5146 | 606 | } | 5147 | | | 5148 | 2.80k | auto charset_string = specs.charset_string<SourceCharT>(); | 5149 | 2.80k | auto it = detail::to_address(charset_string.begin()); | 5150 | 2.80k | auto set = detail::parse_presentation_set( | 5151 | 2.80k | it, detail::to_address(charset_string.end()), nonascii); | 5152 | 2.80k | SCN_TRY_DISCARD(nonascii.get_error()); | 5153 | 2.80k | SCN_ENSURE(it == detail::to_address(charset_string.end())); | 5154 | 2.80k | SCN_ENSURE(set == charset_string); | 5155 | | | 5156 | 2.80k | std::sort(nonascii.extra_ranges.begin(), | 5157 | 2.80k | nonascii.extra_ranges.end()); | 5158 | 2.80k | return {}; | 5159 | 2.80k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::handle_nonascii() Line | Count | Source | 5143 | 744 | { | 5144 | 744 | if (!specs.charset_has_nonascii) { | 5145 | 204 | return {}; | 5146 | 204 | } | 5147 | | | 5148 | 540 | auto charset_string = specs.charset_string<SourceCharT>(); | 5149 | 540 | auto it = detail::to_address(charset_string.begin()); | 5150 | 540 | auto set = detail::parse_presentation_set( | 5151 | 540 | it, detail::to_address(charset_string.end()), nonascii); | 5152 | 540 | SCN_TRY_DISCARD(nonascii.get_error()); | 5153 | 540 | SCN_ENSURE(it == detail::to_address(charset_string.end())); | 5154 | 540 | SCN_ENSURE(set == charset_string); | 5155 | | | 5156 | 540 | std::sort(nonascii.extra_ranges.begin(), | 5157 | 540 | nonascii.extra_ranges.end()); | 5158 | 540 | return {}; | 5159 | 540 | } |
|
5160 | | |
5161 | | const detail::format_specs& specs; |
5162 | | nonascii_specs_handler nonascii; |
5163 | | }; |
5164 | | |
5165 | | struct read_source_callback { |
5166 | | SCN_NODISCARD bool on_ascii_only(SourceCharT ch) const |
5167 | 12.3k | { |
5168 | 12.3k | if (!is_ascii_char(ch)) { |
5169 | 2.01k | return false; |
5170 | 2.01k | } |
5171 | | |
5172 | 10.3k | return helper.is_char_set_in_literals(static_cast<char>(ch)); |
5173 | 12.3k | } scn::v4::impl::character_set_reader_impl<char>::read_source_callback::on_ascii_only(char) const Line | Count | Source | 5167 | 10.5k | { | 5168 | 10.5k | if (!is_ascii_char(ch)) { | 5169 | 2.00k | return false; | 5170 | 2.00k | } | 5171 | | | 5172 | 8.56k | return helper.is_char_set_in_literals(static_cast<char>(ch)); | 5173 | 10.5k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::read_source_callback::on_ascii_only(wchar_t) const Line | Count | Source | 5167 | 1.83k | { | 5168 | 1.83k | if (!is_ascii_char(ch)) { | 5169 | 12 | return false; | 5170 | 12 | } | 5171 | | | 5172 | 1.81k | return helper.is_char_set_in_literals(static_cast<char>(ch)); | 5173 | 1.83k | } |
|
5174 | | |
5175 | | SCN_NODISCARD bool on_classic_with_extra_ranges(char32_t cp) const |
5176 | 280k | { |
5177 | 280k | if (!is_ascii_char(cp)) { |
5178 | 38.7k | return helper.is_char_set_in_extra_literals(cp); |
5179 | 38.7k | } |
5180 | | |
5181 | 242k | return helper.is_char_set_in_literals(static_cast<char>(cp)); |
5182 | 280k | } scn::v4::impl::character_set_reader_impl<char>::read_source_callback::on_classic_with_extra_ranges(char32_t) const Line | Count | Source | 5176 | 273k | { | 5177 | 273k | if (!is_ascii_char(cp)) { | 5178 | 37.3k | return helper.is_char_set_in_extra_literals(cp); | 5179 | 37.3k | } | 5180 | | | 5181 | 235k | return helper.is_char_set_in_literals(static_cast<char>(cp)); | 5182 | 273k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::read_source_callback::on_classic_with_extra_ranges(char32_t) const Line | Count | Source | 5176 | 7.71k | { | 5177 | 7.71k | if (!is_ascii_char(cp)) { | 5178 | 1.44k | return helper.is_char_set_in_extra_literals(cp); | 5179 | 1.44k | } | 5180 | | | 5181 | 6.27k | return helper.is_char_set_in_literals(static_cast<char>(cp)); | 5182 | 7.71k | } |
|
5183 | | |
5184 | | const specs_helper& helper; |
5185 | | detail::locale_ref loc{}; |
5186 | | }; |
5187 | | |
5188 | | template <typename Range> |
5189 | | auto read_source_impl(Range range, specs_helper helper) const |
5190 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5191 | 4.15k | { |
5192 | 4.15k | const bool is_inverted = helper.specs.charset_is_inverted; |
5193 | 4.15k | const bool accepts_nonascii = helper.specs.charset_has_nonascii; |
5194 | | |
5195 | 4.15k | SCN_TRY_DISCARD(helper.handle_nonascii()); |
5196 | | |
5197 | 4.15k | read_source_callback cb_wrapper{helper}; |
5198 | | |
5199 | 4.15k | if (accepts_nonascii) { |
5200 | 280k | const auto cb = [&](char32_t cp) { |
5201 | 280k | return cb_wrapper.on_classic_with_extra_ranges(cp); |
5202 | 280k | }; Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlDiE_clEDi Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlDiE_clEDi _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5200 | 12.7k | const auto cb = [&](char32_t cp) { | 5201 | 12.7k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 12.7k | }; |
_ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5200 | 260k | const auto cb = [&](char32_t cp) { | 5201 | 260k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 260k | }; |
Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlDiE_clEDi Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlDiE_clEDi _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5200 | 3.76k | const auto cb = [&](char32_t cp) { | 5201 | 3.76k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 3.76k | }; |
_ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5200 | 3.94k | const auto cb = [&](char32_t cp) { | 5201 | 3.94k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 3.94k | }; |
|
5203 | | |
5204 | 3.34k | if (is_inverted) { |
5205 | 654 | auto it = read_until_code_point(range, cb); |
5206 | 654 | return check_nonempty(it, range); |
5207 | 654 | } |
5208 | 2.68k | auto it = read_while_code_point(range, cb); |
5209 | 2.68k | return check_nonempty(it, range); |
5210 | 3.34k | } |
5211 | | |
5212 | 12.3k | const auto cb = [&](SourceCharT ch) { |
5213 | 12.3k | return cb_wrapper.on_ascii_only(ch); |
5214 | 12.3k | }; Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlcE_clEc Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlcE_clEc _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlcE_clEc Line | Count | Source | 5212 | 7.20k | const auto cb = [&](SourceCharT ch) { | 5213 | 7.20k | return cb_wrapper.on_ascii_only(ch); | 5214 | 7.20k | }; |
_ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlcE_clEc Line | Count | Source | 5212 | 3.36k | const auto cb = [&](SourceCharT ch) { | 5213 | 3.36k | return cb_wrapper.on_ascii_only(ch); | 5214 | 3.36k | }; |
Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlwE_clEw Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlwE_clEw _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlwE_clEw Line | Count | Source | 5212 | 558 | const auto cb = [&](SourceCharT ch) { | 5213 | 558 | return cb_wrapper.on_ascii_only(ch); | 5214 | 558 | }; |
_ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlwE_clEw Line | Count | Source | 5212 | 1.27k | const auto cb = [&](SourceCharT ch) { | 5213 | 1.27k | return cb_wrapper.on_ascii_only(ch); | 5214 | 1.27k | }; |
|
5215 | | |
5216 | 810 | if (is_inverted) { |
5217 | 384 | auto it = read_until_code_unit(range, cb); |
5218 | 384 | return check_nonempty(it, range); |
5219 | 384 | } |
5220 | 426 | auto it = read_while_code_unit(range, cb); |
5221 | 426 | return check_nonempty(it, range); |
5222 | 810 | } Unexecuted instantiation: _ZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperE Unexecuted instantiation: _ZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperE _ZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperE Line | Count | Source | 5191 | 828 | { | 5192 | 828 | const bool is_inverted = helper.specs.charset_is_inverted; | 5193 | 828 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5194 | | | 5195 | 828 | SCN_TRY_DISCARD(helper.handle_nonascii()); | 5196 | | | 5197 | 828 | read_source_callback cb_wrapper{helper}; | 5198 | | | 5199 | 828 | if (accepts_nonascii) { | 5200 | 474 | const auto cb = [&](char32_t cp) { | 5201 | 474 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 474 | }; | 5203 | | | 5204 | 474 | if (is_inverted) { | 5205 | 192 | auto it = read_until_code_point(range, cb); | 5206 | 192 | return check_nonempty(it, range); | 5207 | 192 | } | 5208 | 282 | auto it = read_while_code_point(range, cb); | 5209 | 282 | return check_nonempty(it, range); | 5210 | 474 | } | 5211 | | | 5212 | 354 | const auto cb = [&](SourceCharT ch) { | 5213 | 354 | return cb_wrapper.on_ascii_only(ch); | 5214 | 354 | }; | 5215 | | | 5216 | 354 | if (is_inverted) { | 5217 | 180 | auto it = read_until_code_unit(range, cb); | 5218 | 180 | return check_nonempty(it, range); | 5219 | 180 | } | 5220 | 174 | auto it = read_while_code_unit(range, cb); | 5221 | 174 | return check_nonempty(it, range); | 5222 | 354 | } |
_ZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperE Line | Count | Source | 5191 | 2.58k | { | 5192 | 2.58k | const bool is_inverted = helper.specs.charset_is_inverted; | 5193 | 2.58k | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5194 | | | 5195 | 2.58k | SCN_TRY_DISCARD(helper.handle_nonascii()); | 5196 | | | 5197 | 2.58k | read_source_callback cb_wrapper{helper}; | 5198 | | | 5199 | 2.58k | if (accepts_nonascii) { | 5200 | 2.32k | const auto cb = [&](char32_t cp) { | 5201 | 2.32k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 2.32k | }; | 5203 | | | 5204 | 2.32k | if (is_inverted) { | 5205 | 210 | auto it = read_until_code_point(range, cb); | 5206 | 210 | return check_nonempty(it, range); | 5207 | 210 | } | 5208 | 2.11k | auto it = read_while_code_point(range, cb); | 5209 | 2.11k | return check_nonempty(it, range); | 5210 | 2.32k | } | 5211 | | | 5212 | 252 | const auto cb = [&](SourceCharT ch) { | 5213 | 252 | return cb_wrapper.on_ascii_only(ch); | 5214 | 252 | }; | 5215 | | | 5216 | 252 | if (is_inverted) { | 5217 | 114 | auto it = read_until_code_unit(range, cb); | 5218 | 114 | return check_nonempty(it, range); | 5219 | 114 | } | 5220 | 138 | auto it = read_while_code_unit(range, cb); | 5221 | 138 | return check_nonempty(it, range); | 5222 | 252 | } |
Unexecuted instantiation: _ZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperE Unexecuted instantiation: _ZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperE _ZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperE Line | Count | Source | 5191 | 330 | { | 5192 | 330 | const bool is_inverted = helper.specs.charset_is_inverted; | 5193 | 330 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5194 | | | 5195 | 330 | SCN_TRY_DISCARD(helper.handle_nonascii()); | 5196 | | | 5197 | 330 | read_source_callback cb_wrapper{helper}; | 5198 | | | 5199 | 330 | if (accepts_nonascii) { | 5200 | 222 | const auto cb = [&](char32_t cp) { | 5201 | 222 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 222 | }; | 5203 | | | 5204 | 222 | if (is_inverted) { | 5205 | 96 | auto it = read_until_code_point(range, cb); | 5206 | 96 | return check_nonempty(it, range); | 5207 | 96 | } | 5208 | 126 | auto it = read_while_code_point(range, cb); | 5209 | 126 | return check_nonempty(it, range); | 5210 | 222 | } | 5211 | | | 5212 | 108 | const auto cb = [&](SourceCharT ch) { | 5213 | 108 | return cb_wrapper.on_ascii_only(ch); | 5214 | 108 | }; | 5215 | | | 5216 | 108 | if (is_inverted) { | 5217 | 48 | auto it = read_until_code_unit(range, cb); | 5218 | 48 | return check_nonempty(it, range); | 5219 | 48 | } | 5220 | 60 | auto it = read_while_code_unit(range, cb); | 5221 | 60 | return check_nonempty(it, range); | 5222 | 108 | } |
_ZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperE Line | Count | Source | 5191 | 414 | { | 5192 | 414 | const bool is_inverted = helper.specs.charset_is_inverted; | 5193 | 414 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5194 | | | 5195 | 414 | SCN_TRY_DISCARD(helper.handle_nonascii()); | 5196 | | | 5197 | 414 | read_source_callback cb_wrapper{helper}; | 5198 | | | 5199 | 414 | if (accepts_nonascii) { | 5200 | 318 | const auto cb = [&](char32_t cp) { | 5201 | 318 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5202 | 318 | }; | 5203 | | | 5204 | 318 | if (is_inverted) { | 5205 | 156 | auto it = read_until_code_point(range, cb); | 5206 | 156 | return check_nonempty(it, range); | 5207 | 156 | } | 5208 | 162 | auto it = read_while_code_point(range, cb); | 5209 | 162 | return check_nonempty(it, range); | 5210 | 318 | } | 5211 | | | 5212 | 96 | const auto cb = [&](SourceCharT ch) { | 5213 | 96 | return cb_wrapper.on_ascii_only(ch); | 5214 | 96 | }; | 5215 | | | 5216 | 96 | if (is_inverted) { | 5217 | 42 | auto it = read_until_code_unit(range, cb); | 5218 | 42 | return check_nonempty(it, range); | 5219 | 42 | } | 5220 | 54 | auto it = read_while_code_unit(range, cb); | 5221 | 54 | return check_nonempty(it, range); | 5222 | 96 | } |
|
5223 | | |
5224 | | template <typename Iterator, typename Range> |
5225 | | static scan_expected<Iterator> check_nonempty(const Iterator& it, |
5226 | | Range range) |
5227 | 4.15k | { |
5228 | 4.15k | if (it == range.begin()) { |
5229 | 1.12k | return detail::unexpected_scan_error( |
5230 | 1.12k | scan_error::invalid_scanned_value, |
5231 | 1.12k | "No characters matched in [character set]"); |
5232 | 1.12k | } |
5233 | | |
5234 | 3.03k | return it; |
5235 | 4.15k | } Unexecuted instantiation: scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > scn::v4::impl::character_set_reader_impl<char>::check_nonempty<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::character_set_reader_impl<char>::check_nonempty<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::detail::basic_scan_buffer<char>::forward_iterator const&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > scn::v4::impl::character_set_reader_impl<char>::check_nonempty<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 5227 | 828 | { | 5228 | 828 | if (it == range.begin()) { | 5229 | 36 | return detail::unexpected_scan_error( | 5230 | 36 | scan_error::invalid_scanned_value, | 5231 | 36 | "No characters matched in [character set]"); | 5232 | 36 | } | 5233 | | | 5234 | 792 | return it; | 5235 | 828 | } |
scn::v4::scan_expected<char const*> scn::v4::impl::character_set_reader_impl<char>::check_nonempty<char const*, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(char const* const&, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 5227 | 2.58k | { | 5228 | 2.58k | if (it == range.begin()) { | 5229 | 1.00k | return detail::unexpected_scan_error( | 5230 | 1.00k | scan_error::invalid_scanned_value, | 5231 | 1.00k | "No characters matched in [character set]"); | 5232 | 1.00k | } | 5233 | | | 5234 | 1.57k | return it; | 5235 | 2.58k | } |
Unexecuted instantiation: scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > scn::v4::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > scn::v4::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 5227 | 330 | { | 5228 | 330 | if (it == range.begin()) { | 5229 | 30 | return detail::unexpected_scan_error( | 5230 | 30 | scan_error::invalid_scanned_value, | 5231 | 30 | "No characters matched in [character set]"); | 5232 | 30 | } | 5233 | | | 5234 | 300 | return it; | 5235 | 330 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::character_set_reader_impl<wchar_t>::check_nonempty<wchar_t const*, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(wchar_t const* const&, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 5227 | 414 | { | 5228 | 414 | if (it == range.begin()) { | 5229 | 48 | return detail::unexpected_scan_error( | 5230 | 48 | scan_error::invalid_scanned_value, | 5231 | 48 | "No characters matched in [character set]"); | 5232 | 48 | } | 5233 | | | 5234 | 366 | return it; | 5235 | 414 | } |
|
5236 | | }; |
5237 | | |
5238 | | template <typename SourceCharT> |
5239 | | class string_reader |
5240 | | : public reader_base<string_reader<SourceCharT>, SourceCharT> { |
5241 | | public: |
5242 | 12.5k | constexpr string_reader() = default; scn::v4::impl::string_reader<char>::string_reader() Line | Count | Source | 5242 | 8.79k | constexpr string_reader() = default; |
scn::v4::impl::string_reader<wchar_t>::string_reader() Line | Count | Source | 5242 | 3.75k | constexpr string_reader() = default; |
|
5243 | | |
5244 | | void check_specs_impl(const detail::format_specs& specs, |
5245 | | reader_error_handler& eh) |
5246 | 9.34k | { |
5247 | 9.34k | detail::check_string_type_specs(specs, eh); |
5248 | | |
5249 | 9.34k | SCN_GCC_PUSH |
5250 | 9.34k | SCN_GCC_IGNORE("-Wswitch") |
5251 | 9.34k | SCN_GCC_IGNORE("-Wswitch-default") |
5252 | | |
5253 | 9.34k | SCN_CLANG_PUSH |
5254 | 9.34k | SCN_CLANG_IGNORE("-Wswitch") |
5255 | 9.34k | SCN_CLANG_IGNORE("-Wcovered-switch-default") |
5256 | | |
5257 | 9.34k | switch (specs.type) { |
5258 | 2.88k | case detail::presentation_type::none: |
5259 | 2.88k | m_type = reader_type::word; |
5260 | 2.88k | break; |
5261 | | |
5262 | 870 | case detail::presentation_type::string: { |
5263 | 870 | if (specs.align == detail::align_type::left || |
5264 | 870 | specs.align == detail::align_type::center) { |
5265 | 588 | m_type = reader_type::custom_word; |
5266 | 588 | } |
5267 | 282 | else { |
5268 | 282 | m_type = reader_type::word; |
5269 | 282 | } |
5270 | 870 | break; |
5271 | 0 | } |
5272 | | |
5273 | 204 | case detail::presentation_type::character: |
5274 | 204 | m_type = reader_type::character; |
5275 | 204 | break; |
5276 | | |
5277 | 4.15k | case detail::presentation_type::string_set: |
5278 | 4.15k | m_type = reader_type::character_set; |
5279 | 4.15k | break; |
5280 | | |
5281 | 150 | case detail::presentation_type::regex: |
5282 | 150 | m_type = reader_type::regex; |
5283 | 150 | break; |
5284 | | |
5285 | 450 | case detail::presentation_type::regex_escaped: |
5286 | 450 | m_type = reader_type::regex_escaped; |
5287 | 450 | break; |
5288 | 9.34k | } |
5289 | | |
5290 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default |
5291 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default |
5292 | 9.34k | } scn::v4::impl::string_reader<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 5246 | 6.90k | { | 5247 | 6.90k | detail::check_string_type_specs(specs, eh); | 5248 | | | 5249 | 6.90k | SCN_GCC_PUSH | 5250 | 6.90k | SCN_GCC_IGNORE("-Wswitch") | 5251 | 6.90k | SCN_GCC_IGNORE("-Wswitch-default") | 5252 | | | 5253 | 6.90k | SCN_CLANG_PUSH | 5254 | 6.90k | SCN_CLANG_IGNORE("-Wswitch") | 5255 | 6.90k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5256 | | | 5257 | 6.90k | switch (specs.type) { | 5258 | 1.69k | case detail::presentation_type::none: | 5259 | 1.69k | m_type = reader_type::word; | 5260 | 1.69k | break; | 5261 | | | 5262 | 654 | case detail::presentation_type::string: { | 5263 | 654 | if (specs.align == detail::align_type::left || | 5264 | 654 | specs.align == detail::align_type::center) { | 5265 | 420 | m_type = reader_type::custom_word; | 5266 | 420 | } | 5267 | 234 | else { | 5268 | 234 | m_type = reader_type::word; | 5269 | 234 | } | 5270 | 654 | break; | 5271 | 0 | } | 5272 | | | 5273 | 150 | case detail::presentation_type::character: | 5274 | 150 | m_type = reader_type::character; | 5275 | 150 | break; | 5276 | | | 5277 | 3.41k | case detail::presentation_type::string_set: | 5278 | 3.41k | m_type = reader_type::character_set; | 5279 | 3.41k | break; | 5280 | | | 5281 | 150 | case detail::presentation_type::regex: | 5282 | 150 | m_type = reader_type::regex; | 5283 | 150 | break; | 5284 | | | 5285 | 450 | case detail::presentation_type::regex_escaped: | 5286 | 450 | m_type = reader_type::regex_escaped; | 5287 | 450 | break; | 5288 | 6.90k | } | 5289 | | | 5290 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default | 5291 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default | 5292 | 6.90k | } |
scn::v4::impl::string_reader<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 5246 | 2.44k | { | 5247 | 2.44k | detail::check_string_type_specs(specs, eh); | 5248 | | | 5249 | 2.44k | SCN_GCC_PUSH | 5250 | 2.44k | SCN_GCC_IGNORE("-Wswitch") | 5251 | 2.44k | SCN_GCC_IGNORE("-Wswitch-default") | 5252 | | | 5253 | 2.44k | SCN_CLANG_PUSH | 5254 | 2.44k | SCN_CLANG_IGNORE("-Wswitch") | 5255 | 2.44k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5256 | | | 5257 | 2.44k | switch (specs.type) { | 5258 | 1.18k | case detail::presentation_type::none: | 5259 | 1.18k | m_type = reader_type::word; | 5260 | 1.18k | break; | 5261 | | | 5262 | 216 | case detail::presentation_type::string: { | 5263 | 216 | if (specs.align == detail::align_type::left || | 5264 | 216 | specs.align == detail::align_type::center) { | 5265 | 168 | m_type = reader_type::custom_word; | 5266 | 168 | } | 5267 | 48 | else { | 5268 | 48 | m_type = reader_type::word; | 5269 | 48 | } | 5270 | 216 | break; | 5271 | 0 | } | 5272 | | | 5273 | 54 | case detail::presentation_type::character: | 5274 | 54 | m_type = reader_type::character; | 5275 | 54 | break; | 5276 | | | 5277 | 744 | case detail::presentation_type::string_set: | 5278 | 744 | m_type = reader_type::character_set; | 5279 | 744 | break; | 5280 | | | 5281 | 0 | case detail::presentation_type::regex: | 5282 | 0 | m_type = reader_type::regex; | 5283 | 0 | break; | 5284 | | | 5285 | 0 | case detail::presentation_type::regex_escaped: | 5286 | 0 | m_type = reader_type::regex_escaped; | 5287 | 0 | break; | 5288 | 2.44k | } | 5289 | | | 5290 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default | 5291 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default | 5292 | 2.44k | } |
|
5293 | | |
5294 | | bool skip_ws_before_read() const |
5295 | 15.5k | { |
5296 | 15.5k | return m_type == reader_type::word; |
5297 | 15.5k | } scn::v4::impl::string_reader<char>::skip_ws_before_read() const Line | Count | Source | 5295 | 11.0k | { | 5296 | 11.0k | return m_type == reader_type::word; | 5297 | 11.0k | } |
scn::v4::impl::string_reader<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5295 | 4.51k | { | 5296 | 4.51k | return m_type == reader_type::word; | 5297 | 4.51k | } |
|
5298 | | |
5299 | | template <typename Range, typename Value> |
5300 | | auto read_default(Range range, Value& value, detail::locale_ref loc) |
5301 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5302 | 3.19k | { |
5303 | 3.19k | SCN_UNUSED(loc); |
5304 | 3.19k | return word_reader_impl<SourceCharT>{}.read(range, value); |
5305 | 3.19k | } _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE Line | Count | Source | 5302 | 628 | { | 5303 | 628 | SCN_UNUSED(loc); | 5304 | 628 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5305 | 628 | } |
_ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5302 | 628 | { | 5303 | 628 | SCN_UNUSED(loc); | 5304 | 628 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5305 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5302 | 628 | { | 5303 | 628 | SCN_UNUSED(loc); | 5304 | 628 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5305 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5302 | 436 | { | 5303 | 436 | SCN_UNUSED(loc); | 5304 | 436 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5305 | 436 | } |
_ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE Line | Count | Source | 5302 | 436 | { | 5303 | 436 | SCN_UNUSED(loc); | 5304 | 436 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5305 | 436 | } |
_ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5302 | 436 | { | 5303 | 436 | SCN_UNUSED(loc); | 5304 | 436 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5305 | 436 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE |
5306 | | |
5307 | | template <typename Range, typename Value> |
5308 | | auto read_specs(Range range, |
5309 | | const detail::format_specs& specs, |
5310 | | Value& value, |
5311 | | detail::locale_ref loc) |
5312 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5313 | 8.60k | { |
5314 | 8.60k | SCN_UNUSED(loc); |
5315 | 8.60k | return read_impl(range, specs, value); |
5316 | 8.60k | } Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5313 | 782 | { | 5314 | 782 | SCN_UNUSED(loc); | 5315 | 782 | return read_impl(range, specs, value); | 5316 | 782 | } |
_ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5313 | 1.35k | { | 5314 | 1.35k | SCN_UNUSED(loc); | 5315 | 1.35k | return read_impl(range, specs, value); | 5316 | 1.35k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5313 | 782 | { | 5314 | 782 | SCN_UNUSED(loc); | 5315 | 782 | return read_impl(range, specs, value); | 5316 | 782 | } |
_ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5313 | 1.35k | { | 5314 | 1.35k | SCN_UNUSED(loc); | 5315 | 1.35k | return read_impl(range, specs, value); | 5316 | 1.35k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5313 | 782 | { | 5314 | 782 | SCN_UNUSED(loc); | 5315 | 782 | return read_impl(range, specs, value); | 5316 | 782 | } |
_ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Line | Count | Source | 5313 | 1.35k | { | 5314 | 1.35k | SCN_UNUSED(loc); | 5315 | 1.35k | return read_impl(range, specs, value); | 5316 | 1.35k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5313 | 254 | { | 5314 | 254 | SCN_UNUSED(loc); | 5315 | 254 | return read_impl(range, specs, value); | 5316 | 254 | } |
_ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5313 | 474 | { | 5314 | 474 | SCN_UNUSED(loc); | 5315 | 474 | return read_impl(range, specs, value); | 5316 | 474 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5313 | 254 | { | 5314 | 254 | SCN_UNUSED(loc); | 5315 | 254 | return read_impl(range, specs, value); | 5316 | 254 | } |
_ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5313 | 474 | { | 5314 | 474 | SCN_UNUSED(loc); | 5315 | 474 | return read_impl(range, specs, value); | 5316 | 474 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5313 | 254 | { | 5314 | 254 | SCN_UNUSED(loc); | 5315 | 254 | return read_impl(range, specs, value); | 5316 | 254 | } |
_ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Line | Count | Source | 5313 | 474 | { | 5314 | 474 | SCN_UNUSED(loc); | 5315 | 474 | return read_impl(range, specs, value); | 5316 | 474 | } |
|
5317 | | |
5318 | | protected: |
5319 | | enum class reader_type { |
5320 | | word, |
5321 | | custom_word, |
5322 | | character, |
5323 | | character_set, |
5324 | | regex, |
5325 | | regex_escaped, |
5326 | | }; |
5327 | | |
5328 | | template <typename Range, typename Value> |
5329 | | auto read_impl(Range range, const detail::format_specs& specs, Value& value) |
5330 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5331 | 8.60k | { |
5332 | 8.60k | SCN_CLANG_PUSH |
5333 | 8.60k | SCN_CLANG_IGNORE("-Wcovered-switch-default") |
5334 | | |
5335 | 8.60k | switch (m_type) { |
5336 | 3.07k | case reader_type::word: |
5337 | 3.07k | return word_reader_impl<SourceCharT>{}.read(range, value); |
5338 | | |
5339 | 582 | case reader_type::custom_word: |
5340 | 582 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, |
5341 | 582 | value); |
5342 | | |
5343 | 192 | case reader_type::character: |
5344 | 192 | return character_reader_impl<SourceCharT>{}.read(range, value); |
5345 | | |
5346 | 4.15k | case reader_type::character_set: |
5347 | 4.15k | return character_set_reader_impl<SourceCharT>{}.read( |
5348 | 4.15k | range, specs, value); |
5349 | | |
5350 | 0 | #if !SCN_DISABLE_REGEX |
5351 | 150 | case reader_type::regex: |
5352 | 150 | return regex_string_reader_impl<SourceCharT>{}.read( |
5353 | 150 | range, specs.charset_string<SourceCharT>(), |
5354 | 150 | specs.regexp_flags, value); |
5355 | | |
5356 | 450 | case reader_type::regex_escaped: |
5357 | 450 | return regex_string_reader_impl<SourceCharT>{}.read( |
5358 | 450 | range, |
5359 | 450 | get_unescaped_regex_pattern( |
5360 | 450 | specs.charset_string<SourceCharT>()), |
5361 | 450 | specs.regexp_flags, value); |
5362 | 0 | #endif |
5363 | | |
5364 | 0 | default: |
5365 | 0 | SCN_EXPECT(false); |
5366 | 8.60k | SCN_UNREACHABLE; |
5367 | 8.60k | } |
5368 | | |
5369 | 8.60k | SCN_CLANG_POP |
5370 | 8.60k | } Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 782 | { | 5332 | 782 | SCN_CLANG_PUSH | 5333 | 782 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 782 | switch (m_type) { | 5336 | 304 | case reader_type::word: | 5337 | 304 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 82 | case reader_type::custom_word: | 5340 | 82 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 82 | value); | 5342 | | | 5343 | 48 | case reader_type::character: | 5344 | 48 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 276 | case reader_type::character_set: | 5347 | 276 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 276 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 2 | case reader_type::regex: | 5352 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 2 | range, specs.charset_string<SourceCharT>(), | 5354 | 2 | specs.regexp_flags, value); | 5355 | | | 5356 | 70 | case reader_type::regex_escaped: | 5357 | 70 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 70 | range, | 5359 | 70 | get_unescaped_regex_pattern( | 5360 | 70 | specs.charset_string<SourceCharT>()), | 5361 | 70 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 782 | SCN_UNREACHABLE; | 5367 | 782 | } | 5368 | | | 5369 | 782 | SCN_CLANG_POP | 5370 | 782 | } |
_ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 1.35k | { | 5332 | 1.35k | SCN_CLANG_PUSH | 5333 | 1.35k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 1.35k | switch (m_type) { | 5336 | 312 | case reader_type::word: | 5337 | 312 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 58 | case reader_type::custom_word: | 5340 | 58 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 58 | value); | 5342 | | | 5343 | 0 | case reader_type::character: | 5344 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 860 | case reader_type::character_set: | 5347 | 860 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 860 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 48 | case reader_type::regex: | 5352 | 48 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 48 | range, specs.charset_string<SourceCharT>(), | 5354 | 48 | specs.regexp_flags, value); | 5355 | | | 5356 | 80 | case reader_type::regex_escaped: | 5357 | 80 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 80 | range, | 5359 | 80 | get_unescaped_regex_pattern( | 5360 | 80 | specs.charset_string<SourceCharT>()), | 5361 | 80 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 1.35k | SCN_UNREACHABLE; | 5367 | 1.35k | } | 5368 | | | 5369 | 1.35k | SCN_CLANG_POP | 5370 | 1.35k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 782 | { | 5332 | 782 | SCN_CLANG_PUSH | 5333 | 782 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 782 | switch (m_type) { | 5336 | 304 | case reader_type::word: | 5337 | 304 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 82 | case reader_type::custom_word: | 5340 | 82 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 82 | value); | 5342 | | | 5343 | 48 | case reader_type::character: | 5344 | 48 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 276 | case reader_type::character_set: | 5347 | 276 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 276 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 2 | case reader_type::regex: | 5352 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 2 | range, specs.charset_string<SourceCharT>(), | 5354 | 2 | specs.regexp_flags, value); | 5355 | | | 5356 | 70 | case reader_type::regex_escaped: | 5357 | 70 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 70 | range, | 5359 | 70 | get_unescaped_regex_pattern( | 5360 | 70 | specs.charset_string<SourceCharT>()), | 5361 | 70 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 782 | SCN_UNREACHABLE; | 5367 | 782 | } | 5368 | | | 5369 | 782 | SCN_CLANG_POP | 5370 | 782 | } |
_ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 1.35k | { | 5332 | 1.35k | SCN_CLANG_PUSH | 5333 | 1.35k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 1.35k | switch (m_type) { | 5336 | 312 | case reader_type::word: | 5337 | 312 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 58 | case reader_type::custom_word: | 5340 | 58 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 58 | value); | 5342 | | | 5343 | 0 | case reader_type::character: | 5344 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 860 | case reader_type::character_set: | 5347 | 860 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 860 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 48 | case reader_type::regex: | 5352 | 48 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 48 | range, specs.charset_string<SourceCharT>(), | 5354 | 48 | specs.regexp_flags, value); | 5355 | | | 5356 | 80 | case reader_type::regex_escaped: | 5357 | 80 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 80 | range, | 5359 | 80 | get_unescaped_regex_pattern( | 5360 | 80 | specs.charset_string<SourceCharT>()), | 5361 | 80 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 1.35k | SCN_UNREACHABLE; | 5367 | 1.35k | } | 5368 | | | 5369 | 1.35k | SCN_CLANG_POP | 5370 | 1.35k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 782 | { | 5332 | 782 | SCN_CLANG_PUSH | 5333 | 782 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 782 | switch (m_type) { | 5336 | 304 | case reader_type::word: | 5337 | 304 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 82 | case reader_type::custom_word: | 5340 | 82 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 82 | value); | 5342 | | | 5343 | 48 | case reader_type::character: | 5344 | 48 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 276 | case reader_type::character_set: | 5347 | 276 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 276 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 2 | case reader_type::regex: | 5352 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 2 | range, specs.charset_string<SourceCharT>(), | 5354 | 2 | specs.regexp_flags, value); | 5355 | | | 5356 | 70 | case reader_type::regex_escaped: | 5357 | 70 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 70 | range, | 5359 | 70 | get_unescaped_regex_pattern( | 5360 | 70 | specs.charset_string<SourceCharT>()), | 5361 | 70 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 782 | SCN_UNREACHABLE; | 5367 | 782 | } | 5368 | | | 5369 | 782 | SCN_CLANG_POP | 5370 | 782 | } |
_ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 1.35k | { | 5332 | 1.35k | SCN_CLANG_PUSH | 5333 | 1.35k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 1.35k | switch (m_type) { | 5336 | 312 | case reader_type::word: | 5337 | 312 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 58 | case reader_type::custom_word: | 5340 | 58 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 58 | value); | 5342 | | | 5343 | 0 | case reader_type::character: | 5344 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 860 | case reader_type::character_set: | 5347 | 860 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 860 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 48 | case reader_type::regex: | 5352 | 48 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 48 | range, specs.charset_string<SourceCharT>(), | 5354 | 48 | specs.regexp_flags, value); | 5355 | | | 5356 | 80 | case reader_type::regex_escaped: | 5357 | 80 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 80 | range, | 5359 | 80 | get_unescaped_regex_pattern( | 5360 | 80 | specs.charset_string<SourceCharT>()), | 5361 | 80 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 1.35k | SCN_UNREACHABLE; | 5367 | 1.35k | } | 5368 | | | 5369 | 1.35k | SCN_CLANG_POP | 5370 | 1.35k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 254 | { | 5332 | 254 | SCN_CLANG_PUSH | 5333 | 254 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 254 | switch (m_type) { | 5336 | 110 | case reader_type::word: | 5337 | 110 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 18 | case reader_type::custom_word: | 5340 | 18 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 18 | value); | 5342 | | | 5343 | 16 | case reader_type::character: | 5344 | 16 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 110 | case reader_type::character_set: | 5347 | 110 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 110 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 0 | case reader_type::regex: | 5352 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 0 | range, specs.charset_string<SourceCharT>(), | 5354 | 0 | specs.regexp_flags, value); | 5355 | | | 5356 | 0 | case reader_type::regex_escaped: | 5357 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 0 | range, | 5359 | 0 | get_unescaped_regex_pattern( | 5360 | 0 | specs.charset_string<SourceCharT>()), | 5361 | 0 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 254 | SCN_UNREACHABLE; | 5367 | 254 | } | 5368 | | | 5369 | 254 | SCN_CLANG_POP | 5370 | 254 | } |
_ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 474 | { | 5332 | 474 | SCN_CLANG_PUSH | 5333 | 474 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 474 | switch (m_type) { | 5336 | 300 | case reader_type::word: | 5337 | 300 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 36 | case reader_type::custom_word: | 5340 | 36 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 36 | value); | 5342 | | | 5343 | 0 | case reader_type::character: | 5344 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 138 | case reader_type::character_set: | 5347 | 138 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 138 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 0 | case reader_type::regex: | 5352 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 0 | range, specs.charset_string<SourceCharT>(), | 5354 | 0 | specs.regexp_flags, value); | 5355 | | | 5356 | 0 | case reader_type::regex_escaped: | 5357 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 0 | range, | 5359 | 0 | get_unescaped_regex_pattern( | 5360 | 0 | specs.charset_string<SourceCharT>()), | 5361 | 0 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 474 | SCN_UNREACHABLE; | 5367 | 474 | } | 5368 | | | 5369 | 474 | SCN_CLANG_POP | 5370 | 474 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 254 | { | 5332 | 254 | SCN_CLANG_PUSH | 5333 | 254 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 254 | switch (m_type) { | 5336 | 110 | case reader_type::word: | 5337 | 110 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 18 | case reader_type::custom_word: | 5340 | 18 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 18 | value); | 5342 | | | 5343 | 16 | case reader_type::character: | 5344 | 16 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 110 | case reader_type::character_set: | 5347 | 110 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 110 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 0 | case reader_type::regex: | 5352 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 0 | range, specs.charset_string<SourceCharT>(), | 5354 | 0 | specs.regexp_flags, value); | 5355 | | | 5356 | 0 | case reader_type::regex_escaped: | 5357 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 0 | range, | 5359 | 0 | get_unescaped_regex_pattern( | 5360 | 0 | specs.charset_string<SourceCharT>()), | 5361 | 0 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 254 | SCN_UNREACHABLE; | 5367 | 254 | } | 5368 | | | 5369 | 254 | SCN_CLANG_POP | 5370 | 254 | } |
_ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 474 | { | 5332 | 474 | SCN_CLANG_PUSH | 5333 | 474 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 474 | switch (m_type) { | 5336 | 300 | case reader_type::word: | 5337 | 300 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 36 | case reader_type::custom_word: | 5340 | 36 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 36 | value); | 5342 | | | 5343 | 0 | case reader_type::character: | 5344 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 138 | case reader_type::character_set: | 5347 | 138 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 138 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 0 | case reader_type::regex: | 5352 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 0 | range, specs.charset_string<SourceCharT>(), | 5354 | 0 | specs.regexp_flags, value); | 5355 | | | 5356 | 0 | case reader_type::regex_escaped: | 5357 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 0 | range, | 5359 | 0 | get_unescaped_regex_pattern( | 5360 | 0 | specs.charset_string<SourceCharT>()), | 5361 | 0 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 474 | SCN_UNREACHABLE; | 5367 | 474 | } | 5368 | | | 5369 | 474 | SCN_CLANG_POP | 5370 | 474 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 254 | { | 5332 | 254 | SCN_CLANG_PUSH | 5333 | 254 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 254 | switch (m_type) { | 5336 | 110 | case reader_type::word: | 5337 | 110 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 18 | case reader_type::custom_word: | 5340 | 18 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 18 | value); | 5342 | | | 5343 | 16 | case reader_type::character: | 5344 | 16 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 110 | case reader_type::character_set: | 5347 | 110 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 110 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 0 | case reader_type::regex: | 5352 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 0 | range, specs.charset_string<SourceCharT>(), | 5354 | 0 | specs.regexp_flags, value); | 5355 | | | 5356 | 0 | case reader_type::regex_escaped: | 5357 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 0 | range, | 5359 | 0 | get_unescaped_regex_pattern( | 5360 | 0 | specs.charset_string<SourceCharT>()), | 5361 | 0 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 254 | SCN_UNREACHABLE; | 5367 | 254 | } | 5368 | | | 5369 | 254 | SCN_CLANG_POP | 5370 | 254 | } |
_ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5331 | 474 | { | 5332 | 474 | SCN_CLANG_PUSH | 5333 | 474 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5334 | | | 5335 | 474 | switch (m_type) { | 5336 | 300 | case reader_type::word: | 5337 | 300 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5338 | | | 5339 | 36 | case reader_type::custom_word: | 5340 | 36 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5341 | 36 | value); | 5342 | | | 5343 | 0 | case reader_type::character: | 5344 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5345 | | | 5346 | 138 | case reader_type::character_set: | 5347 | 138 | return character_set_reader_impl<SourceCharT>{}.read( | 5348 | 138 | range, specs, value); | 5349 | | | 5350 | 0 | #if !SCN_DISABLE_REGEX | 5351 | 0 | case reader_type::regex: | 5352 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5353 | 0 | range, specs.charset_string<SourceCharT>(), | 5354 | 0 | specs.regexp_flags, value); | 5355 | | | 5356 | 0 | case reader_type::regex_escaped: | 5357 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5358 | 0 | range, | 5359 | 0 | get_unescaped_regex_pattern( | 5360 | 0 | specs.charset_string<SourceCharT>()), | 5361 | 0 | specs.regexp_flags, value); | 5362 | 0 | #endif | 5363 | | | 5364 | 0 | default: | 5365 | 0 | SCN_EXPECT(false); | 5366 | 474 | SCN_UNREACHABLE; | 5367 | 474 | } | 5368 | | | 5369 | 474 | SCN_CLANG_POP | 5370 | 474 | } |
|
5371 | | |
5372 | | reader_type m_type{reader_type::word}; |
5373 | | }; |
5374 | | |
5375 | | template <typename SourceCharT> |
5376 | | class reader_impl_for_string : public string_reader<SourceCharT> {}; |
5377 | | |
5378 | | ///////////////////////////////////////////////////////////////// |
5379 | | // Boolean reader |
5380 | | ///////////////////////////////////////////////////////////////// |
5381 | | |
5382 | | struct bool_reader_base { |
5383 | | enum options_type { allow_text = 1, allow_numeric = 2 }; |
5384 | | |
5385 | 1.06k | constexpr bool_reader_base() = default; |
5386 | 1.37k | constexpr bool_reader_base(unsigned opt) : m_options(opt) {} |
5387 | | |
5388 | | template <typename Range> |
5389 | | auto read_classic(Range range, bool& value) const |
5390 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5391 | 2.37k | { |
5392 | 2.37k | scan_error err{scan_error::invalid_scanned_value, |
5393 | 2.37k | "Failed to read boolean"}; |
5394 | | |
5395 | 2.37k | if (m_options & allow_numeric) { |
5396 | 2.09k | if (auto r = read_numeric(range, value)) { |
5397 | 0 | return *r; |
5398 | 0 | } |
5399 | 2.09k | else { |
5400 | 2.09k | err = r.error(); |
5401 | 2.09k | } |
5402 | 2.09k | } |
5403 | | |
5404 | 2.37k | if (m_options & allow_text) { |
5405 | 2.28k | if (auto r = read_textual_classic(range, value)) { |
5406 | 0 | return *r; |
5407 | 0 | } |
5408 | 2.28k | else { |
5409 | 2.28k | err = r.error(); |
5410 | 2.28k | } |
5411 | 2.28k | } |
5412 | | |
5413 | 2.37k | return unexpected(err); |
5414 | 2.37k | } _ZNK3scn2v44impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5391 | 1.02k | { | 5392 | 1.02k | scan_error err{scan_error::invalid_scanned_value, | 5393 | 1.02k | "Failed to read boolean"}; | 5394 | | | 5395 | 1.02k | if (m_options & allow_numeric) { | 5396 | 894 | if (auto r = read_numeric(range, value)) { | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | 894 | else { | 5400 | 894 | err = r.error(); | 5401 | 894 | } | 5402 | 894 | } | 5403 | | | 5404 | 1.02k | if (m_options & allow_text) { | 5405 | 998 | if (auto r = read_textual_classic(range, value)) { | 5406 | 0 | return *r; | 5407 | 0 | } | 5408 | 998 | else { | 5409 | 998 | err = r.error(); | 5410 | 998 | } | 5411 | 998 | } | 5412 | | | 5413 | 1.02k | return unexpected(err); | 5414 | 1.02k | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v44impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5391 | 412 | { | 5392 | 412 | scan_error err{scan_error::invalid_scanned_value, | 5393 | 412 | "Failed to read boolean"}; | 5394 | | | 5395 | 412 | if (m_options & allow_numeric) { | 5396 | 324 | if (auto r = read_numeric(range, value)) { | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | 324 | else { | 5400 | 324 | err = r.error(); | 5401 | 324 | } | 5402 | 324 | } | 5403 | | | 5404 | 412 | if (m_options & allow_text) { | 5405 | 386 | if (auto r = read_textual_classic(range, value)) { | 5406 | 0 | return *r; | 5407 | 0 | } | 5408 | 386 | else { | 5409 | 386 | err = r.error(); | 5410 | 386 | } | 5411 | 386 | } | 5412 | | | 5413 | 412 | return unexpected(err); | 5414 | 412 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v44impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5391 | 794 | { | 5392 | 794 | scan_error err{scan_error::invalid_scanned_value, | 5393 | 794 | "Failed to read boolean"}; | 5394 | | | 5395 | 794 | if (m_options & allow_numeric) { | 5396 | 746 | if (auto r = read_numeric(range, value)) { | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | 746 | else { | 5400 | 746 | err = r.error(); | 5401 | 746 | } | 5402 | 746 | } | 5403 | | | 5404 | 794 | if (m_options & allow_text) { | 5405 | 772 | if (auto r = read_textual_classic(range, value)) { | 5406 | 0 | return *r; | 5407 | 0 | } | 5408 | 772 | else { | 5409 | 772 | err = r.error(); | 5410 | 772 | } | 5411 | 772 | } | 5412 | | | 5413 | 794 | return unexpected(err); | 5414 | 794 | } |
_ZNK3scn2v44impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5391 | 148 | { | 5392 | 148 | scan_error err{scan_error::invalid_scanned_value, | 5393 | 148 | "Failed to read boolean"}; | 5394 | | | 5395 | 148 | if (m_options & allow_numeric) { | 5396 | 126 | if (auto r = read_numeric(range, value)) { | 5397 | 0 | return *r; | 5398 | 0 | } | 5399 | 126 | else { | 5400 | 126 | err = r.error(); | 5401 | 126 | } | 5402 | 126 | } | 5403 | | | 5404 | 148 | if (m_options & allow_text) { | 5405 | 128 | if (auto r = read_textual_classic(range, value)) { | 5406 | 0 | return *r; | 5407 | 0 | } | 5408 | 128 | else { | 5409 | 128 | err = r.error(); | 5410 | 128 | } | 5411 | 128 | } | 5412 | | | 5413 | 148 | return unexpected(err); | 5414 | 148 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5415 | | |
5416 | | protected: |
5417 | | template <typename Range> |
5418 | | auto read_numeric(Range range, bool& value) const |
5419 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5420 | 2.14k | { |
5421 | 2.14k | if (auto r = read_matching_code_unit(range, '0')) { |
5422 | 0 | value = false; |
5423 | 0 | return *r; |
5424 | 0 | } |
5425 | 2.14k | if (auto r = read_matching_code_unit(range, '1')) { |
5426 | 0 | value = true; |
5427 | 0 | return *r; |
5428 | 0 | } |
5429 | | |
5430 | 2.14k | return detail::unexpected_scan_error( |
5431 | 2.14k | scan_error::invalid_scanned_value, |
5432 | 2.14k | "Failed to read numeric boolean value: No match"); |
5433 | 2.14k | } _ZNK3scn2v44impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5420 | 906 | { | 5421 | 906 | if (auto r = read_matching_code_unit(range, '0')) { | 5422 | 0 | value = false; | 5423 | 0 | return *r; | 5424 | 0 | } | 5425 | 906 | if (auto r = read_matching_code_unit(range, '1')) { | 5426 | 0 | value = true; | 5427 | 0 | return *r; | 5428 | 0 | } | 5429 | | | 5430 | 906 | return detail::unexpected_scan_error( | 5431 | 906 | scan_error::invalid_scanned_value, | 5432 | 906 | "Failed to read numeric boolean value: No match"); | 5433 | 906 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v44impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5420 | 334 | { | 5421 | 334 | if (auto r = read_matching_code_unit(range, '0')) { | 5422 | 0 | value = false; | 5423 | 0 | return *r; | 5424 | 0 | } | 5425 | 334 | if (auto r = read_matching_code_unit(range, '1')) { | 5426 | 0 | value = true; | 5427 | 0 | return *r; | 5428 | 0 | } | 5429 | | | 5430 | 334 | return detail::unexpected_scan_error( | 5431 | 334 | scan_error::invalid_scanned_value, | 5432 | 334 | "Failed to read numeric boolean value: No match"); | 5433 | 334 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v44impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5420 | 762 | { | 5421 | 762 | if (auto r = read_matching_code_unit(range, '0')) { | 5422 | 0 | value = false; | 5423 | 0 | return *r; | 5424 | 0 | } | 5425 | 762 | if (auto r = read_matching_code_unit(range, '1')) { | 5426 | 0 | value = true; | 5427 | 0 | return *r; | 5428 | 0 | } | 5429 | | | 5430 | 762 | return detail::unexpected_scan_error( | 5431 | 762 | scan_error::invalid_scanned_value, | 5432 | 762 | "Failed to read numeric boolean value: No match"); | 5433 | 762 | } |
_ZNK3scn2v44impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5420 | 144 | { | 5421 | 144 | if (auto r = read_matching_code_unit(range, '0')) { | 5422 | 0 | value = false; | 5423 | 0 | return *r; | 5424 | 0 | } | 5425 | 144 | if (auto r = read_matching_code_unit(range, '1')) { | 5426 | 0 | value = true; | 5427 | 0 | return *r; | 5428 | 0 | } | 5429 | | | 5430 | 144 | return detail::unexpected_scan_error( | 5431 | 144 | scan_error::invalid_scanned_value, | 5432 | 144 | "Failed to read numeric boolean value: No match"); | 5433 | 144 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5434 | | |
5435 | | template <typename Range> |
5436 | | auto read_textual_classic(Range range, bool& value) const |
5437 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5438 | 2.28k | { |
5439 | 2.28k | if (auto r = read_matching_string_classic(range, "true")) { |
5440 | 0 | value = true; |
5441 | 0 | return *r; |
5442 | 0 | } |
5443 | 2.28k | if (auto r = read_matching_string_classic(range, "false")) { |
5444 | 0 | value = false; |
5445 | 0 | return *r; |
5446 | 0 | } |
5447 | | |
5448 | 2.28k | return detail::unexpected_scan_error( |
5449 | 2.28k | scan_error::invalid_scanned_value, |
5450 | 2.28k | "Failed to read textual boolean value: No match"); |
5451 | 2.28k | } _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5438 | 998 | { | 5439 | 998 | if (auto r = read_matching_string_classic(range, "true")) { | 5440 | 0 | value = true; | 5441 | 0 | return *r; | 5442 | 0 | } | 5443 | 998 | if (auto r = read_matching_string_classic(range, "false")) { | 5444 | 0 | value = false; | 5445 | 0 | return *r; | 5446 | 0 | } | 5447 | | | 5448 | 998 | return detail::unexpected_scan_error( | 5449 | 998 | scan_error::invalid_scanned_value, | 5450 | 998 | "Failed to read textual boolean value: No match"); | 5451 | 998 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5438 | 386 | { | 5439 | 386 | if (auto r = read_matching_string_classic(range, "true")) { | 5440 | 0 | value = true; | 5441 | 0 | return *r; | 5442 | 0 | } | 5443 | 386 | if (auto r = read_matching_string_classic(range, "false")) { | 5444 | 0 | value = false; | 5445 | 0 | return *r; | 5446 | 0 | } | 5447 | | | 5448 | 386 | return detail::unexpected_scan_error( | 5449 | 386 | scan_error::invalid_scanned_value, | 5450 | 386 | "Failed to read textual boolean value: No match"); | 5451 | 386 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5438 | 772 | { | 5439 | 772 | if (auto r = read_matching_string_classic(range, "true")) { | 5440 | 0 | value = true; | 5441 | 0 | return *r; | 5442 | 0 | } | 5443 | 772 | if (auto r = read_matching_string_classic(range, "false")) { | 5444 | 0 | value = false; | 5445 | 0 | return *r; | 5446 | 0 | } | 5447 | | | 5448 | 772 | return detail::unexpected_scan_error( | 5449 | 772 | scan_error::invalid_scanned_value, | 5450 | 772 | "Failed to read textual boolean value: No match"); | 5451 | 772 | } |
_ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5438 | 128 | { | 5439 | 128 | if (auto r = read_matching_string_classic(range, "true")) { | 5440 | 0 | value = true; | 5441 | 0 | return *r; | 5442 | 0 | } | 5443 | 128 | if (auto r = read_matching_string_classic(range, "false")) { | 5444 | 0 | value = false; | 5445 | 0 | return *r; | 5446 | 0 | } | 5447 | | | 5448 | 128 | return detail::unexpected_scan_error( | 5449 | 128 | scan_error::invalid_scanned_value, | 5450 | 128 | "Failed to read textual boolean value: No match"); | 5451 | 128 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5452 | | |
5453 | | unsigned m_options{allow_text | allow_numeric}; |
5454 | | }; |
5455 | | |
5456 | | template <typename CharT> |
5457 | | struct bool_reader : public bool_reader_base { |
5458 | | using bool_reader_base::bool_reader_base; |
5459 | | |
5460 | | #if !SCN_DISABLE_LOCALE |
5461 | | template <typename Range> |
5462 | | auto read_localized(Range range, detail::locale_ref loc, bool& value) const |
5463 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5464 | 68 | { |
5465 | 68 | scan_error err{scan_error::invalid_scanned_value, |
5466 | 68 | "Failed to read boolean"}; |
5467 | | |
5468 | 68 | if (m_options & allow_numeric) { |
5469 | 56 | if (auto r = read_numeric(range, value)) { |
5470 | 0 | return *r; |
5471 | 0 | } |
5472 | 56 | else { |
5473 | 56 | err = r.error(); |
5474 | 56 | } |
5475 | 56 | } |
5476 | | |
5477 | 68 | if (m_options & allow_text) { |
5478 | 36 | auto stdloc = loc.get<std::locale>(); |
5479 | 36 | const auto& numpunct = |
5480 | 36 | get_or_add_facet<std::numpunct<CharT>>(stdloc); |
5481 | 36 | const auto truename = numpunct.truename(); |
5482 | 36 | const auto falsename = numpunct.falsename(); |
5483 | | |
5484 | 36 | if (auto r = |
5485 | 36 | read_textual_custom(range, value, truename, falsename)) { |
5486 | 0 | return *r; |
5487 | 0 | } |
5488 | 36 | else { |
5489 | 36 | err = r.error(); |
5490 | 36 | } |
5491 | 36 | } |
5492 | | |
5493 | 68 | return unexpected(err); |
5494 | 68 | } _ZNK3scn2v44impl11bool_readerIcE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refERb Line | Count | Source | 5464 | 12 | { | 5465 | 12 | scan_error err{scan_error::invalid_scanned_value, | 5466 | 12 | "Failed to read boolean"}; | 5467 | | | 5468 | 12 | if (m_options & allow_numeric) { | 5469 | 10 | if (auto r = read_numeric(range, value)) { | 5470 | 0 | return *r; | 5471 | 0 | } | 5472 | 10 | else { | 5473 | 10 | err = r.error(); | 5474 | 10 | } | 5475 | 10 | } | 5476 | | | 5477 | 12 | if (m_options & allow_text) { | 5478 | 10 | auto stdloc = loc.get<std::locale>(); | 5479 | 10 | const auto& numpunct = | 5480 | 10 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5481 | 10 | const auto truename = numpunct.truename(); | 5482 | 10 | const auto falsename = numpunct.falsename(); | 5483 | | | 5484 | 10 | if (auto r = | 5485 | 10 | read_textual_custom(range, value, truename, falsename)) { | 5486 | 0 | return *r; | 5487 | 0 | } | 5488 | 10 | else { | 5489 | 10 | err = r.error(); | 5490 | 10 | } | 5491 | 10 | } | 5492 | | | 5493 | 12 | return unexpected(err); | 5494 | 12 | } |
_ZNK3scn2v44impl11bool_readerIcE14read_localizedINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refERb Line | Count | Source | 5464 | 18 | { | 5465 | 18 | scan_error err{scan_error::invalid_scanned_value, | 5466 | 18 | "Failed to read boolean"}; | 5467 | | | 5468 | 18 | if (m_options & allow_numeric) { | 5469 | 12 | if (auto r = read_numeric(range, value)) { | 5470 | 0 | return *r; | 5471 | 0 | } | 5472 | 12 | else { | 5473 | 12 | err = r.error(); | 5474 | 12 | } | 5475 | 12 | } | 5476 | | | 5477 | 18 | if (m_options & allow_text) { | 5478 | 10 | auto stdloc = loc.get<std::locale>(); | 5479 | 10 | const auto& numpunct = | 5480 | 10 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5481 | 10 | const auto truename = numpunct.truename(); | 5482 | 10 | const auto falsename = numpunct.falsename(); | 5483 | | | 5484 | 10 | if (auto r = | 5485 | 10 | read_textual_custom(range, value, truename, falsename)) { | 5486 | 0 | return *r; | 5487 | 0 | } | 5488 | 10 | else { | 5489 | 10 | err = r.error(); | 5490 | 10 | } | 5491 | 10 | } | 5492 | | | 5493 | 18 | return unexpected(err); | 5494 | 18 | } |
Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIcE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refERb Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIcE14read_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refERb _ZNK3scn2v44impl11bool_readerIwE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refERb Line | Count | Source | 5464 | 20 | { | 5465 | 20 | scan_error err{scan_error::invalid_scanned_value, | 5466 | 20 | "Failed to read boolean"}; | 5467 | | | 5468 | 20 | if (m_options & allow_numeric) { | 5469 | 18 | if (auto r = read_numeric(range, value)) { | 5470 | 0 | return *r; | 5471 | 0 | } | 5472 | 18 | else { | 5473 | 18 | err = r.error(); | 5474 | 18 | } | 5475 | 18 | } | 5476 | | | 5477 | 20 | if (m_options & allow_text) { | 5478 | 10 | auto stdloc = loc.get<std::locale>(); | 5479 | 10 | const auto& numpunct = | 5480 | 10 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5481 | 10 | const auto truename = numpunct.truename(); | 5482 | 10 | const auto falsename = numpunct.falsename(); | 5483 | | | 5484 | 10 | if (auto r = | 5485 | 10 | read_textual_custom(range, value, truename, falsename)) { | 5486 | 0 | return *r; | 5487 | 0 | } | 5488 | 10 | else { | 5489 | 10 | err = r.error(); | 5490 | 10 | } | 5491 | 10 | } | 5492 | | | 5493 | 20 | return unexpected(err); | 5494 | 20 | } |
_ZNK3scn2v44impl11bool_readerIwE14read_localizedINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refERb Line | Count | Source | 5464 | 18 | { | 5465 | 18 | scan_error err{scan_error::invalid_scanned_value, | 5466 | 18 | "Failed to read boolean"}; | 5467 | | | 5468 | 18 | if (m_options & allow_numeric) { | 5469 | 16 | if (auto r = read_numeric(range, value)) { | 5470 | 0 | return *r; | 5471 | 0 | } | 5472 | 16 | else { | 5473 | 16 | err = r.error(); | 5474 | 16 | } | 5475 | 16 | } | 5476 | | | 5477 | 18 | if (m_options & allow_text) { | 5478 | 6 | auto stdloc = loc.get<std::locale>(); | 5479 | 6 | const auto& numpunct = | 5480 | 6 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5481 | 6 | const auto truename = numpunct.truename(); | 5482 | 6 | const auto falsename = numpunct.falsename(); | 5483 | | | 5484 | 6 | if (auto r = | 5485 | 6 | read_textual_custom(range, value, truename, falsename)) { | 5486 | 0 | return *r; | 5487 | 0 | } | 5488 | 6 | else { | 5489 | 6 | err = r.error(); | 5490 | 6 | } | 5491 | 6 | } | 5492 | | | 5493 | 18 | return unexpected(err); | 5494 | 18 | } |
Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIwE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refERb Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIwE14read_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refERb |
5495 | | #endif |
5496 | | |
5497 | | protected: |
5498 | | template <typename Range> |
5499 | | auto read_textual_custom(Range range, |
5500 | | bool& value, |
5501 | | std::basic_string_view<CharT> truename, |
5502 | | std::basic_string_view<CharT> falsename) const |
5503 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5504 | 36 | { |
5505 | 36 | const auto is_truename_shorter = truename.size() <= falsename.size(); |
5506 | 36 | const auto shorter = std::pair{ |
5507 | 36 | is_truename_shorter ? truename : falsename, is_truename_shorter}; |
5508 | 36 | const auto longer = std::pair{ |
5509 | 36 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; |
5510 | | |
5511 | 36 | if (auto r = read_matching_string(range, shorter.first)) { |
5512 | 0 | value = shorter.second; |
5513 | 0 | return *r; |
5514 | 0 | } |
5515 | 36 | if (auto r = read_matching_string(range, longer.first)) { |
5516 | 0 | value = longer.second; |
5517 | 0 | return *r; |
5518 | 0 | } |
5519 | | |
5520 | 36 | return detail::unexpected_scan_error( |
5521 | 36 | scan_error::invalid_scanned_value, |
5522 | 36 | "Failed to read textual boolean: No match"); |
5523 | 36 | } _ZNK3scn2v44impl11bool_readerIcE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RbNSF_17basic_string_viewIcNSF_11char_traitsIcEEEESR_ Line | Count | Source | 5504 | 10 | { | 5505 | 10 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5506 | 10 | const auto shorter = std::pair{ | 5507 | 10 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5508 | 10 | const auto longer = std::pair{ | 5509 | 10 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5510 | | | 5511 | 10 | if (auto r = read_matching_string(range, shorter.first)) { | 5512 | 0 | value = shorter.second; | 5513 | 0 | return *r; | 5514 | 0 | } | 5515 | 10 | if (auto r = read_matching_string(range, longer.first)) { | 5516 | 0 | value = longer.second; | 5517 | 0 | return *r; | 5518 | 0 | } | 5519 | | | 5520 | 10 | return detail::unexpected_scan_error( | 5521 | 10 | scan_error::invalid_scanned_value, | 5522 | 10 | "Failed to read textual boolean: No match"); | 5523 | 10 | } |
_ZNK3scn2v44impl11bool_readerIcE19read_textual_customINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNSD_17basic_string_viewIcNSD_11char_traitsIcEEEESP_ Line | Count | Source | 5504 | 10 | { | 5505 | 10 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5506 | 10 | const auto shorter = std::pair{ | 5507 | 10 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5508 | 10 | const auto longer = std::pair{ | 5509 | 10 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5510 | | | 5511 | 10 | if (auto r = read_matching_string(range, shorter.first)) { | 5512 | 0 | value = shorter.second; | 5513 | 0 | return *r; | 5514 | 0 | } | 5515 | 10 | if (auto r = read_matching_string(range, longer.first)) { | 5516 | 0 | value = longer.second; | 5517 | 0 | return *r; | 5518 | 0 | } | 5519 | | | 5520 | 10 | return detail::unexpected_scan_error( | 5521 | 10 | scan_error::invalid_scanned_value, | 5522 | 10 | "Failed to read textual boolean: No match"); | 5523 | 10 | } |
Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIcE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RbNSI_17basic_string_viewIcNSI_11char_traitsIcEEEESU_ Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIcE19read_textual_customINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNSG_17basic_string_viewIcNSG_11char_traitsIcEEEESS_ _ZNK3scn2v44impl11bool_readerIwE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RbNSF_17basic_string_viewIwNSF_11char_traitsIwEEEESR_ Line | Count | Source | 5504 | 10 | { | 5505 | 10 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5506 | 10 | const auto shorter = std::pair{ | 5507 | 10 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5508 | 10 | const auto longer = std::pair{ | 5509 | 10 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5510 | | | 5511 | 10 | if (auto r = read_matching_string(range, shorter.first)) { | 5512 | 0 | value = shorter.second; | 5513 | 0 | return *r; | 5514 | 0 | } | 5515 | 10 | if (auto r = read_matching_string(range, longer.first)) { | 5516 | 0 | value = longer.second; | 5517 | 0 | return *r; | 5518 | 0 | } | 5519 | | | 5520 | 10 | return detail::unexpected_scan_error( | 5521 | 10 | scan_error::invalid_scanned_value, | 5522 | 10 | "Failed to read textual boolean: No match"); | 5523 | 10 | } |
_ZNK3scn2v44impl11bool_readerIwE19read_textual_customINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNSD_17basic_string_viewIwNSD_11char_traitsIwEEEESP_ Line | Count | Source | 5504 | 6 | { | 5505 | 6 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5506 | 6 | const auto shorter = std::pair{ | 5507 | 6 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5508 | 6 | const auto longer = std::pair{ | 5509 | 6 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5510 | | | 5511 | 6 | if (auto r = read_matching_string(range, shorter.first)) { | 5512 | 0 | value = shorter.second; | 5513 | 0 | return *r; | 5514 | 0 | } | 5515 | 6 | if (auto r = read_matching_string(range, longer.first)) { | 5516 | 0 | value = longer.second; | 5517 | 0 | return *r; | 5518 | 0 | } | 5519 | | | 5520 | 6 | return detail::unexpected_scan_error( | 5521 | 6 | scan_error::invalid_scanned_value, | 5522 | 6 | "Failed to read textual boolean: No match"); | 5523 | 6 | } |
Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIwE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RbNSI_17basic_string_viewIwNSI_11char_traitsIwEEEESU_ Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIwE19read_textual_customINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNSG_17basic_string_viewIwNSG_11char_traitsIwEEEESS_ |
5524 | | }; |
5525 | | |
5526 | | template <typename CharT> |
5527 | | class reader_impl_for_bool |
5528 | | : public reader_base<reader_impl_for_bool<CharT>, CharT> { |
5529 | | public: |
5530 | | reader_impl_for_bool() = default; |
5531 | | |
5532 | | void check_specs_impl(const detail::format_specs& specs, |
5533 | | reader_error_handler& eh) |
5534 | 3.18k | { |
5535 | 3.18k | detail::check_bool_type_specs(specs, eh); |
5536 | 3.18k | } scn::v4::impl::reader_impl_for_bool<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 5534 | 2.33k | { | 5535 | 2.33k | detail::check_bool_type_specs(specs, eh); | 5536 | 2.33k | } |
scn::v4::impl::reader_impl_for_bool<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 5534 | 854 | { | 5535 | 854 | detail::check_bool_type_specs(specs, eh); | 5536 | 854 | } |
|
5537 | | |
5538 | | template <typename Range> |
5539 | | auto read_default(Range range, bool& value, detail::locale_ref loc) const |
5540 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5541 | 1.06k | { |
5542 | 1.06k | SCN_UNUSED(loc); |
5543 | | |
5544 | 1.06k | return bool_reader<CharT>{}.read_classic(range, value); |
5545 | 1.06k | } _ZNK3scn2v44impl20reader_impl_for_boolIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNS0_6detail10locale_refE Line | Count | Source | 5541 | 628 | { | 5542 | 628 | SCN_UNUSED(loc); | 5543 | | | 5544 | 628 | return bool_reader<CharT>{}.read_classic(range, value); | 5545 | 628 | } |
Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNS9_10locale_refE _ZNK3scn2v44impl20reader_impl_for_boolIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNS0_6detail10locale_refE Line | Count | Source | 5541 | 436 | { | 5542 | 436 | SCN_UNUSED(loc); | 5543 | | | 5544 | 436 | return bool_reader<CharT>{}.read_classic(range, value); | 5545 | 436 | } |
Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNS9_10locale_refE |
5546 | | |
5547 | | template <typename Range> |
5548 | | auto read_specs(Range range, |
5549 | | const detail::format_specs& specs, |
5550 | | bool& value, |
5551 | | detail::locale_ref loc) const |
5552 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5553 | 1.37k | { |
5554 | 1.37k | const auto rd = bool_reader<CharT>{get_options(specs)}; |
5555 | | |
5556 | 1.37k | #if !SCN_DISABLE_LOCALE |
5557 | 1.37k | if (specs.localized) { |
5558 | 68 | return rd.read_localized(range, loc, value); |
5559 | 68 | } |
5560 | 1.31k | #endif |
5561 | | |
5562 | 1.31k | return rd.read_classic(range, value); |
5563 | 1.37k | } _ZNK3scn2v44impl20reader_impl_for_boolIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERbNSN_10locale_refE Line | Count | Source | 5553 | 424 | { | 5554 | 424 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5555 | | | 5556 | 424 | #if !SCN_DISABLE_LOCALE | 5557 | 424 | if (specs.localized) { | 5558 | 12 | return rd.read_localized(range, loc, value); | 5559 | 12 | } | 5560 | 412 | #endif | 5561 | | | 5562 | 412 | return rd.read_classic(range, value); | 5563 | 424 | } |
_ZNK3scn2v44impl20reader_impl_for_boolIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERbNSL_10locale_refE Line | Count | Source | 5553 | 410 | { | 5554 | 410 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5555 | | | 5556 | 410 | #if !SCN_DISABLE_LOCALE | 5557 | 410 | if (specs.localized) { | 5558 | 18 | return rd.read_localized(range, loc, value); | 5559 | 18 | } | 5560 | 392 | #endif | 5561 | | | 5562 | 392 | return rd.read_classic(range, value); | 5563 | 410 | } |
Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERbNSA_10locale_refE Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERbNS9_10locale_refE _ZNK3scn2v44impl20reader_impl_for_boolIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERbNSN_10locale_refE Line | Count | Source | 5553 | 168 | { | 5554 | 168 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5555 | | | 5556 | 168 | #if !SCN_DISABLE_LOCALE | 5557 | 168 | if (specs.localized) { | 5558 | 20 | return rd.read_localized(range, loc, value); | 5559 | 20 | } | 5560 | 148 | #endif | 5561 | | | 5562 | 148 | return rd.read_classic(range, value); | 5563 | 168 | } |
_ZNK3scn2v44impl20reader_impl_for_boolIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERbNSL_10locale_refE Line | Count | Source | 5553 | 376 | { | 5554 | 376 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5555 | | | 5556 | 376 | #if !SCN_DISABLE_LOCALE | 5557 | 376 | if (specs.localized) { | 5558 | 18 | return rd.read_localized(range, loc, value); | 5559 | 18 | } | 5560 | 358 | #endif | 5561 | | | 5562 | 358 | return rd.read_classic(range, value); | 5563 | 376 | } |
Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERbNSA_10locale_refE Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERbNS9_10locale_refE |
5564 | | |
5565 | | static constexpr unsigned get_options(const detail::format_specs& specs) |
5566 | 1.37k | { |
5567 | 1.37k | SCN_GCC_COMPAT_PUSH |
5568 | 1.37k | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") |
5569 | | |
5570 | 1.37k | switch (specs.type) { |
5571 | 296 | case detail::presentation_type::string: |
5572 | 296 | return bool_reader_base::allow_text; |
5573 | | |
5574 | 28 | case detail::presentation_type::int_generic: |
5575 | 44 | case detail::presentation_type::int_binary: |
5576 | 58 | case detail::presentation_type::int_decimal: |
5577 | 80 | case detail::presentation_type::int_hex: |
5578 | 106 | case detail::presentation_type::int_octal: |
5579 | 122 | case detail::presentation_type::int_unsigned_decimal: |
5580 | 122 | return bool_reader_base::allow_numeric; |
5581 | | |
5582 | 960 | default: |
5583 | 960 | return bool_reader_base::allow_text | |
5584 | 960 | bool_reader_base::allow_numeric; |
5585 | 1.37k | } |
5586 | | |
5587 | | SCN_GCC_COMPAT_POP // -Wswitch-enum |
5588 | 1.37k | } scn::v4::impl::reader_impl_for_bool<char>::get_options(scn::v4::detail::format_specs const&) Line | Count | Source | 5566 | 834 | { | 5567 | 834 | SCN_GCC_COMPAT_PUSH | 5568 | 834 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 5569 | | | 5570 | 834 | switch (specs.type) { | 5571 | 222 | case detail::presentation_type::string: | 5572 | 222 | return bool_reader_base::allow_text; | 5573 | | | 5574 | 14 | case detail::presentation_type::int_generic: | 5575 | 22 | case detail::presentation_type::int_binary: | 5576 | 28 | case detail::presentation_type::int_decimal: | 5577 | 40 | case detail::presentation_type::int_hex: | 5578 | 54 | case detail::presentation_type::int_octal: | 5579 | 58 | case detail::presentation_type::int_unsigned_decimal: | 5580 | 58 | return bool_reader_base::allow_numeric; | 5581 | | | 5582 | 554 | default: | 5583 | 554 | return bool_reader_base::allow_text | | 5584 | 554 | bool_reader_base::allow_numeric; | 5585 | 834 | } | 5586 | | | 5587 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 5588 | 834 | } |
scn::v4::impl::reader_impl_for_bool<wchar_t>::get_options(scn::v4::detail::format_specs const&) Line | Count | Source | 5566 | 544 | { | 5567 | 544 | SCN_GCC_COMPAT_PUSH | 5568 | 544 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 5569 | | | 5570 | 544 | switch (specs.type) { | 5571 | 74 | case detail::presentation_type::string: | 5572 | 74 | return bool_reader_base::allow_text; | 5573 | | | 5574 | 14 | case detail::presentation_type::int_generic: | 5575 | 22 | case detail::presentation_type::int_binary: | 5576 | 30 | case detail::presentation_type::int_decimal: | 5577 | 40 | case detail::presentation_type::int_hex: | 5578 | 52 | case detail::presentation_type::int_octal: | 5579 | 64 | case detail::presentation_type::int_unsigned_decimal: | 5580 | 64 | return bool_reader_base::allow_numeric; | 5581 | | | 5582 | 406 | default: | 5583 | 406 | return bool_reader_base::allow_text | | 5584 | 406 | bool_reader_base::allow_numeric; | 5585 | 544 | } | 5586 | | | 5587 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 5588 | 544 | } |
|
5589 | | }; |
5590 | | |
5591 | | ///////////////////////////////////////////////////////////////// |
5592 | | // Character (code unit, code point) reader |
5593 | | ///////////////////////////////////////////////////////////////// |
5594 | | |
5595 | | template <typename CharT> |
5596 | | class code_unit_reader { |
5597 | | public: |
5598 | | template <typename SourceRange> |
5599 | | auto read(const SourceRange& range, CharT& ch) |
5600 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5601 | 2.02k | { |
5602 | 2.02k | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); |
5603 | 2.02k | ch = *range.begin(); |
5604 | 2.02k | return it; |
5605 | 2.02k | } Unexecuted instantiation: _ZN3scn2v44impl16code_unit_readerIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rc Unexecuted instantiation: _ZN3scn2v44impl16code_unit_readerIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rc _ZN3scn2v44impl16code_unit_readerIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rc Line | Count | Source | 5601 | 320 | { | 5602 | 320 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5603 | 320 | ch = *range.begin(); | 5604 | 320 | return it; | 5605 | 320 | } |
_ZN3scn2v44impl16code_unit_readerIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rc Line | Count | Source | 5601 | 872 | { | 5602 | 872 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5603 | 872 | ch = *range.begin(); | 5604 | 872 | return it; | 5605 | 872 | } |
Unexecuted instantiation: _ZN3scn2v44impl16code_unit_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rw Unexecuted instantiation: _ZN3scn2v44impl16code_unit_readerIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rw _ZN3scn2v44impl16code_unit_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rw Line | Count | Source | 5601 | 106 | { | 5602 | 106 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5603 | 106 | ch = *range.begin(); | 5604 | 106 | return it; | 5605 | 106 | } |
_ZN3scn2v44impl16code_unit_readerIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rw Line | Count | Source | 5601 | 724 | { | 5602 | 724 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5603 | 724 | ch = *range.begin(); | 5604 | 724 | return it; | 5605 | 724 | } |
|
5606 | | }; |
5607 | | |
5608 | | template <typename CharT> |
5609 | | class code_point_reader; |
5610 | | |
5611 | | template <> |
5612 | | class code_point_reader<char32_t> { |
5613 | | public: |
5614 | | template <typename SourceRange> |
5615 | | auto read(const SourceRange& range, char32_t& cp) |
5616 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5617 | 0 | { |
5618 | 0 | auto result = read_code_point_into(range); |
5619 | 0 | if (SCN_UNLIKELY(!result.is_valid())) { |
5620 | 0 | return detail::unexpected_scan_error( |
5621 | 0 | scan_error::invalid_scanned_value, "Invalid code point"); |
5622 | 0 | } |
5623 | 0 | cp = detail::decode_code_point_exhaustive_valid( |
5624 | 0 | std::basic_string_view<detail::char_t<SourceRange>>{ |
5625 | 0 | result.codepoint}); |
5626 | 0 | return result.iterator; |
5627 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_RDi |
5628 | | }; |
5629 | | |
5630 | | template <> |
5631 | | class code_point_reader<wchar_t> { |
5632 | | public: |
5633 | | template <typename SourceRange> |
5634 | | auto read(const SourceRange& range, wchar_t& ch) |
5635 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5636 | 0 | { |
5637 | 0 | code_point_reader<char32_t> reader{}; |
5638 | 0 | char32_t cp{}; |
5639 | 0 | auto ret = reader.read(range, cp); |
5640 | 0 | if (SCN_UNLIKELY(!ret)) { |
5641 | 0 | return unexpected(ret.error()); |
5642 | 0 | } |
5643 | | |
5644 | 0 | SCN_TRY(encoded_ch, encode_code_point_as_wide_character(cp, true)); |
5645 | 0 | ch = encoded_ch; |
5646 | 0 | return *ret; |
5647 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIwE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rw Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rw Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rw Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rw |
5648 | | }; |
5649 | | |
5650 | | template <typename ValueCharT> |
5651 | | class char_reader_base { |
5652 | | public: |
5653 | | constexpr char_reader_base() = default; |
5654 | | |
5655 | | bool skip_ws_before_read() const |
5656 | 3.08k | { |
5657 | 3.08k | return false; |
5658 | 3.08k | } scn::v4::impl::char_reader_base<char>::skip_ws_before_read() const Line | Count | Source | 5656 | 1.81k | { | 5657 | 1.81k | return false; | 5658 | 1.81k | } |
scn::v4::impl::char_reader_base<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5656 | 1.26k | { | 5657 | 1.26k | return false; | 5658 | 1.26k | } |
Unexecuted instantiation: scn::v4::impl::char_reader_base<char32_t>::skip_ws_before_read() const |
5659 | | |
5660 | | static scan_expected<void> check_specs(const detail::format_specs& specs) |
5661 | 3.11k | { |
5662 | 3.11k | reader_error_handler eh{}; |
5663 | 3.11k | if constexpr (std::is_same_v<ValueCharT, char32_t>) { |
5664 | 0 | detail::check_code_point_type_specs(specs, eh); |
5665 | | } |
5666 | 3.11k | else { |
5667 | 3.11k | detail::check_char_type_specs(specs, eh); |
5668 | 3.11k | } |
5669 | 3.11k | if (SCN_UNLIKELY(!eh)) { |
5670 | 2.05k | return detail::unexpected_scan_error( |
5671 | 2.05k | scan_error::invalid_format_string, eh.m_msg); |
5672 | 2.05k | } |
5673 | 1.06k | return {}; |
5674 | 3.11k | } scn::v4::impl::char_reader_base<char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 5661 | 2.30k | { | 5662 | 2.30k | reader_error_handler eh{}; | 5663 | | if constexpr (std::is_same_v<ValueCharT, char32_t>) { | 5664 | | detail::check_code_point_type_specs(specs, eh); | 5665 | | } | 5666 | 2.30k | else { | 5667 | 2.30k | detail::check_char_type_specs(specs, eh); | 5668 | 2.30k | } | 5669 | 2.30k | if (SCN_UNLIKELY(!eh)) { | 5670 | 1.67k | return detail::unexpected_scan_error( | 5671 | 1.67k | scan_error::invalid_format_string, eh.m_msg); | 5672 | 1.67k | } | 5673 | 624 | return {}; | 5674 | 2.30k | } |
scn::v4::impl::char_reader_base<wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 5661 | 814 | { | 5662 | 814 | reader_error_handler eh{}; | 5663 | | if constexpr (std::is_same_v<ValueCharT, char32_t>) { | 5664 | | detail::check_code_point_type_specs(specs, eh); | 5665 | | } | 5666 | 814 | else { | 5667 | 814 | detail::check_char_type_specs(specs, eh); | 5668 | 814 | } | 5669 | 814 | if (SCN_UNLIKELY(!eh)) { | 5670 | 376 | return detail::unexpected_scan_error( | 5671 | 376 | scan_error::invalid_format_string, eh.m_msg); | 5672 | 376 | } | 5673 | 438 | return {}; | 5674 | 814 | } |
Unexecuted instantiation: scn::v4::impl::char_reader_base<char32_t>::check_specs(scn::v4::detail::format_specs const&) |
5675 | | }; |
5676 | | |
5677 | | template <typename CharT> |
5678 | | class reader_impl_for_char : public char_reader_base<char> { |
5679 | | public: |
5680 | | template <typename Range> |
5681 | | auto read_default(Range range, char& value, detail::locale_ref loc) |
5682 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5683 | 1.19k | { |
5684 | 1.19k | SCN_UNUSED(loc); |
5685 | 1.19k | if constexpr (std::is_same_v<CharT, char>) { |
5686 | 1.19k | return code_unit_reader<char>{}.read(range, value); |
5687 | | } |
5688 | 0 | else { |
5689 | 0 | SCN_UNUSED(range); |
5690 | 0 | SCN_EXPECT(false); |
5691 | 0 | SCN_UNREACHABLE; |
5692 | 0 | } |
5693 | 1.19k | } Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RcNS9_10locale_refE _ZN3scn2v44impl20reader_impl_for_charIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RcNS0_6detail10locale_refE Line | Count | Source | 5683 | 320 | { | 5684 | 320 | SCN_UNUSED(loc); | 5685 | 320 | if constexpr (std::is_same_v<CharT, char>) { | 5686 | 320 | return code_unit_reader<char>{}.read(range, value); | 5687 | | } | 5688 | | else { | 5689 | | SCN_UNUSED(range); | 5690 | | SCN_EXPECT(false); | 5691 | | SCN_UNREACHABLE; | 5692 | | } | 5693 | 320 | } |
_ZN3scn2v44impl20reader_impl_for_charIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RcNS0_6detail10locale_refE Line | Count | Source | 5683 | 872 | { | 5684 | 872 | SCN_UNUSED(loc); | 5685 | 872 | if constexpr (std::is_same_v<CharT, char>) { | 5686 | 872 | return code_unit_reader<char>{}.read(range, value); | 5687 | | } | 5688 | | else { | 5689 | | SCN_UNUSED(range); | 5690 | | SCN_EXPECT(false); | 5691 | | SCN_UNREACHABLE; | 5692 | | } | 5693 | 872 | } |
Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RcNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RcNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RcNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RcNSA_10locale_refE |
5694 | | |
5695 | | template <typename Range> |
5696 | | auto read_specs(Range range, |
5697 | | const detail::format_specs& specs, |
5698 | | char& value, |
5699 | | detail::locale_ref loc) |
5700 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5701 | 620 | { |
5702 | 620 | if (specs.type == detail::presentation_type::none || |
5703 | 620 | specs.type == detail::presentation_type::character) { |
5704 | 564 | return read_default(range, value, loc); |
5705 | 564 | } |
5706 | | |
5707 | 56 | reader_impl_for_int<CharT> reader{}; |
5708 | 56 | signed char tmp_value{}; |
5709 | 56 | auto ret = reader.read_specs(range, specs, tmp_value, loc); |
5710 | 56 | value = static_cast<signed char>(value); |
5711 | 56 | return ret; |
5712 | 620 | } Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERcNS9_10locale_refE _ZN3scn2v44impl20reader_impl_for_charIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERcNSN_10locale_refE Line | Count | Source | 5701 | 354 | { | 5702 | 354 | if (specs.type == detail::presentation_type::none || | 5703 | 354 | specs.type == detail::presentation_type::character) { | 5704 | 320 | return read_default(range, value, loc); | 5705 | 320 | } | 5706 | | | 5707 | 34 | reader_impl_for_int<CharT> reader{}; | 5708 | 34 | signed char tmp_value{}; | 5709 | 34 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5710 | 34 | value = static_cast<signed char>(value); | 5711 | 34 | return ret; | 5712 | 354 | } |
_ZN3scn2v44impl20reader_impl_for_charIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERcNSL_10locale_refE Line | Count | Source | 5701 | 266 | { | 5702 | 266 | if (specs.type == detail::presentation_type::none || | 5703 | 266 | specs.type == detail::presentation_type::character) { | 5704 | 244 | return read_default(range, value, loc); | 5705 | 244 | } | 5706 | | | 5707 | 22 | reader_impl_for_int<CharT> reader{}; | 5708 | 22 | signed char tmp_value{}; | 5709 | 22 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5710 | 22 | value = static_cast<signed char>(value); | 5711 | 22 | return ret; | 5712 | 266 | } |
Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERcNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERcNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERcNS9_10locale_refE |
5713 | | }; |
5714 | | |
5715 | | template <typename CharT> |
5716 | | class reader_impl_for_wchar : public char_reader_base<wchar_t> { |
5717 | | public: |
5718 | | template <typename Range> |
5719 | | auto read_default(Range range, wchar_t& value, detail::locale_ref loc) |
5720 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5721 | 830 | { |
5722 | 830 | SCN_UNUSED(loc); |
5723 | 830 | if constexpr (std::is_same_v<CharT, char>) { |
5724 | 0 | return code_point_reader<wchar_t>{}.read(range, value); |
5725 | | } |
5726 | 830 | else { |
5727 | 830 | return code_unit_reader<wchar_t>{}.read(range, value); |
5728 | 830 | } |
5729 | 830 | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RwNS9_10locale_refE _ZN3scn2v44impl21reader_impl_for_wcharIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RwNS0_6detail10locale_refE Line | Count | Source | 5721 | 106 | { | 5722 | 106 | SCN_UNUSED(loc); | 5723 | | if constexpr (std::is_same_v<CharT, char>) { | 5724 | | return code_point_reader<wchar_t>{}.read(range, value); | 5725 | | } | 5726 | 106 | else { | 5727 | 106 | return code_unit_reader<wchar_t>{}.read(range, value); | 5728 | 106 | } | 5729 | 106 | } |
_ZN3scn2v44impl21reader_impl_for_wcharIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RwNS0_6detail10locale_refE Line | Count | Source | 5721 | 724 | { | 5722 | 724 | SCN_UNUSED(loc); | 5723 | | if constexpr (std::is_same_v<CharT, char>) { | 5724 | | return code_point_reader<wchar_t>{}.read(range, value); | 5725 | | } | 5726 | 724 | else { | 5727 | 724 | return code_unit_reader<wchar_t>{}.read(range, value); | 5728 | 724 | } | 5729 | 724 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RwNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RwNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RwNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RwNSA_10locale_refE |
5730 | | |
5731 | | template <typename Range> |
5732 | | auto read_specs(Range range, |
5733 | | const detail::format_specs& specs, |
5734 | | wchar_t& value, |
5735 | | detail::locale_ref loc) |
5736 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5737 | 436 | { |
5738 | 436 | if (specs.type == detail::presentation_type::none || |
5739 | 436 | specs.type == detail::presentation_type::character) { |
5740 | 394 | return read_default(range, value, loc); |
5741 | 394 | } |
5742 | | |
5743 | 42 | reader_impl_for_int<CharT> reader{}; |
5744 | 42 | using integer_type = |
5745 | 42 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; |
5746 | 42 | integer_type tmp_value{}; |
5747 | 42 | auto ret = reader.read_specs(range, specs, tmp_value, loc); |
5748 | 42 | value = static_cast<integer_type>(value); |
5749 | 42 | return ret; |
5750 | 436 | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERwNS9_10locale_refE _ZN3scn2v44impl21reader_impl_for_wcharIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERwNSN_10locale_refE Line | Count | Source | 5737 | 126 | { | 5738 | 126 | if (specs.type == detail::presentation_type::none || | 5739 | 126 | specs.type == detail::presentation_type::character) { | 5740 | 106 | return read_default(range, value, loc); | 5741 | 106 | } | 5742 | | | 5743 | 20 | reader_impl_for_int<CharT> reader{}; | 5744 | 20 | using integer_type = | 5745 | 20 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; | 5746 | 20 | integer_type tmp_value{}; | 5747 | 20 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5748 | 20 | value = static_cast<integer_type>(value); | 5749 | 20 | return ret; | 5750 | 126 | } |
_ZN3scn2v44impl21reader_impl_for_wcharIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERwNSL_10locale_refE Line | Count | Source | 5737 | 310 | { | 5738 | 310 | if (specs.type == detail::presentation_type::none || | 5739 | 310 | specs.type == detail::presentation_type::character) { | 5740 | 288 | return read_default(range, value, loc); | 5741 | 288 | } | 5742 | | | 5743 | 22 | reader_impl_for_int<CharT> reader{}; | 5744 | 22 | using integer_type = | 5745 | 22 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; | 5746 | 22 | integer_type tmp_value{}; | 5747 | 22 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5748 | 22 | value = static_cast<integer_type>(value); | 5749 | 22 | return ret; | 5750 | 310 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERwNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERwNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERwNS9_10locale_refE |
5751 | | }; |
5752 | | |
5753 | | template <typename CharT> |
5754 | | class reader_impl_for_code_point : public char_reader_base<char32_t> { |
5755 | | public: |
5756 | | template <typename Range> |
5757 | | auto read_default(Range range, char32_t& value, detail::locale_ref loc) |
5758 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5759 | 0 | { |
5760 | 0 | SCN_UNUSED(loc); |
5761 | 0 | return code_point_reader<char32_t>{}.read(range, value); |
5762 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RDiNSA_10locale_refE |
5763 | | |
5764 | | template <typename Range> |
5765 | | auto read_specs(Range range, |
5766 | | const detail::format_specs& specs, |
5767 | | char32_t& value, |
5768 | | detail::locale_ref loc) |
5769 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5770 | 0 | { |
5771 | 0 | SCN_UNUSED(specs); |
5772 | 0 | return read_default(range, value, loc); |
5773 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERDiNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERDiNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERDiNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERDiNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERDiNS9_10locale_refE |
5774 | | }; |
5775 | | |
5776 | | ///////////////////////////////////////////////////////////////// |
5777 | | // Pointer reader |
5778 | | ///////////////////////////////////////////////////////////////// |
5779 | | |
5780 | | template <typename CharT> |
5781 | | class reader_impl_for_voidptr { |
5782 | | public: |
5783 | | constexpr reader_impl_for_voidptr() = default; |
5784 | | |
5785 | | bool skip_ws_before_read() const |
5786 | 2.03k | { |
5787 | 2.03k | return true; |
5788 | 2.03k | } scn::v4::impl::reader_impl_for_voidptr<char>::skip_ws_before_read() const Line | Count | Source | 5786 | 1.20k | { | 5787 | 1.20k | return true; | 5788 | 1.20k | } |
scn::v4::impl::reader_impl_for_voidptr<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5786 | 838 | { | 5787 | 838 | return true; | 5788 | 838 | } |
|
5789 | | |
5790 | | static scan_expected<void> check_specs(const detail::format_specs& specs) |
5791 | 3.11k | { |
5792 | 3.11k | reader_error_handler eh{}; |
5793 | 3.11k | detail::check_pointer_type_specs(specs, eh); |
5794 | 3.11k | if (SCN_UNLIKELY(!eh)) { |
5795 | 2.14k | return detail::unexpected_scan_error( |
5796 | 2.14k | scan_error::invalid_format_string, eh.m_msg); |
5797 | 2.14k | } |
5798 | 974 | return {}; |
5799 | 3.11k | } scn::v4::impl::reader_impl_for_voidptr<char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 5791 | 2.30k | { | 5792 | 2.30k | reader_error_handler eh{}; | 5793 | 2.30k | detail::check_pointer_type_specs(specs, eh); | 5794 | 2.30k | if (SCN_UNLIKELY(!eh)) { | 5795 | 1.73k | return detail::unexpected_scan_error( | 5796 | 1.73k | scan_error::invalid_format_string, eh.m_msg); | 5797 | 1.73k | } | 5798 | 572 | return {}; | 5799 | 2.30k | } |
scn::v4::impl::reader_impl_for_voidptr<wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 5791 | 814 | { | 5792 | 814 | reader_error_handler eh{}; | 5793 | 814 | detail::check_pointer_type_specs(specs, eh); | 5794 | 814 | if (SCN_UNLIKELY(!eh)) { | 5795 | 412 | return detail::unexpected_scan_error( | 5796 | 412 | scan_error::invalid_format_string, eh.m_msg); | 5797 | 412 | } | 5798 | 402 | return {}; | 5799 | 814 | } |
|
5800 | | |
5801 | | template <typename Range> |
5802 | | auto read_default(Range range, void*& value, detail::locale_ref loc) |
5803 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5804 | 2.01k | { |
5805 | 2.01k | detail::format_specs specs{}; |
5806 | 2.01k | specs.type = detail::presentation_type::int_hex; |
5807 | | |
5808 | 2.01k | std::uintptr_t intvalue{}; |
5809 | 2.01k | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, |
5810 | 0 | intvalue, loc)); |
5811 | 0 | value = reinterpret_cast<void*>(intvalue); |
5812 | 0 | return result; |
5813 | 2.01k | } _ZN3scn2v44impl23reader_impl_for_voidptrIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RPvNS0_6detail10locale_refE Line | Count | Source | 5804 | 876 | { | 5805 | 876 | detail::format_specs specs{}; | 5806 | 876 | specs.type = detail::presentation_type::int_hex; | 5807 | | | 5808 | 876 | std::uintptr_t intvalue{}; | 5809 | 876 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5810 | 0 | intvalue, loc)); | 5811 | 0 | value = reinterpret_cast<void*>(intvalue); | 5812 | 0 | return result; | 5813 | 876 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RPvNS9_10locale_refE _ZN3scn2v44impl23reader_impl_for_voidptrIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RPvNS0_6detail10locale_refE Line | Count | Source | 5804 | 300 | { | 5805 | 300 | detail::format_specs specs{}; | 5806 | 300 | specs.type = detail::presentation_type::int_hex; | 5807 | | | 5808 | 300 | std::uintptr_t intvalue{}; | 5809 | 300 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5810 | 0 | intvalue, loc)); | 5811 | 0 | value = reinterpret_cast<void*>(intvalue); | 5812 | 0 | return result; | 5813 | 300 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RPvNSA_10locale_refE _ZN3scn2v44impl23reader_impl_for_voidptrIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RPvNS0_6detail10locale_refE Line | Count | Source | 5804 | 726 | { | 5805 | 726 | detail::format_specs specs{}; | 5806 | 726 | specs.type = detail::presentation_type::int_hex; | 5807 | | | 5808 | 726 | std::uintptr_t intvalue{}; | 5809 | 726 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5810 | 0 | intvalue, loc)); | 5811 | 0 | value = reinterpret_cast<void*>(intvalue); | 5812 | 0 | return result; | 5813 | 726 | } |
_ZN3scn2v44impl23reader_impl_for_voidptrIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RPvNS0_6detail10locale_refE Line | Count | Source | 5804 | 110 | { | 5805 | 110 | detail::format_specs specs{}; | 5806 | 110 | specs.type = detail::presentation_type::int_hex; | 5807 | | | 5808 | 110 | std::uintptr_t intvalue{}; | 5809 | 110 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5810 | 0 | intvalue, loc)); | 5811 | 0 | value = reinterpret_cast<void*>(intvalue); | 5812 | 0 | return result; | 5813 | 110 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RPvNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RPvNSA_10locale_refE |
5814 | | |
5815 | | template <typename Range> |
5816 | | auto read_specs(Range range, |
5817 | | const detail::format_specs& specs, |
5818 | | void*& value, |
5819 | | detail::locale_ref loc) |
5820 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5821 | 948 | { |
5822 | 948 | SCN_UNUSED(specs); |
5823 | 948 | return read_default(range, value, loc); |
5824 | 948 | } _ZN3scn2v44impl23reader_impl_for_voidptrIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERPvNSN_10locale_refE Line | Count | Source | 5821 | 300 | { | 5822 | 300 | SCN_UNUSED(specs); | 5823 | 300 | return read_default(range, value, loc); | 5824 | 300 | } |
_ZN3scn2v44impl23reader_impl_for_voidptrIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERPvNSL_10locale_refE Line | Count | Source | 5821 | 248 | { | 5822 | 248 | SCN_UNUSED(specs); | 5823 | 248 | return read_default(range, value, loc); | 5824 | 248 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERPvNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERPvNS9_10locale_refE _ZN3scn2v44impl23reader_impl_for_voidptrIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERPvNSN_10locale_refE Line | Count | Source | 5821 | 110 | { | 5822 | 110 | SCN_UNUSED(specs); | 5823 | 110 | return read_default(range, value, loc); | 5824 | 110 | } |
_ZN3scn2v44impl23reader_impl_for_voidptrIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERPvNSL_10locale_refE Line | Count | Source | 5821 | 290 | { | 5822 | 290 | SCN_UNUSED(specs); | 5823 | 290 | return read_default(range, value, loc); | 5824 | 290 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERPvNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERPvNS9_10locale_refE |
5825 | | }; |
5826 | | |
5827 | | ///////////////////////////////////////////////////////////////// |
5828 | | // Argument readers |
5829 | | ///////////////////////////////////////////////////////////////// |
5830 | | |
5831 | | template <typename Range> |
5832 | | auto skip_ws_before_if_required(bool is_required, Range range) |
5833 | | -> eof_expected<ranges::iterator_t<Range>> |
5834 | 9.57k | { |
5835 | 9.57k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
5836 | 0 | return unexpected(e); |
5837 | 0 | } |
5838 | | |
5839 | 9.57k | if (!is_required) { |
5840 | 1.06k | return range.begin(); |
5841 | 1.06k | } |
5842 | | |
5843 | 8.51k | return skip_classic_whitespace(range); |
5844 | 9.57k | } _ZN3scn2v44impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSB_ Line | Count | Source | 5834 | 5.65k | { | 5835 | 5.65k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 5836 | 0 | return unexpected(e); | 5837 | 0 | } | 5838 | | | 5839 | 5.65k | if (!is_required) { | 5840 | 628 | return range.begin(); | 5841 | 628 | } | 5842 | | | 5843 | 5.02k | return skip_classic_whitespace(range); | 5844 | 5.65k | } |
Unexecuted instantiation: _ZN3scn2v44impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSE_ Unexecuted instantiation: _ZN3scn2v44impl26skip_ws_before_if_requiredINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEEEEbSA_ _ZN3scn2v44impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSB_ Line | Count | Source | 5834 | 3.92k | { | 5835 | 3.92k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 5836 | 0 | return unexpected(e); | 5837 | 0 | } | 5838 | | | 5839 | 3.92k | if (!is_required) { | 5840 | 436 | return range.begin(); | 5841 | 436 | } | 5842 | | | 5843 | 3.48k | return skip_classic_whitespace(range); | 5844 | 3.92k | } |
Unexecuted instantiation: _ZN3scn2v44impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSE_ Unexecuted instantiation: _ZN3scn2v44impl26skip_ws_before_if_requiredINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEEEEbSA_ |
5845 | | |
5846 | | template <typename T, typename CharT> |
5847 | | constexpr auto make_reader() |
5848 | 12.5k | { |
5849 | | if constexpr (std::is_same_v<T, bool>) { |
5850 | | return reader_impl_for_bool<CharT>{}; |
5851 | | } |
5852 | | else if constexpr (std::is_same_v<T, char>) { |
5853 | | return reader_impl_for_char<CharT>{}; |
5854 | | } |
5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { |
5856 | | return reader_impl_for_wchar<CharT>{}; |
5857 | | } |
5858 | | else if constexpr (std::is_same_v<T, char32_t>) { |
5859 | | return reader_impl_for_code_point<CharT>{}; |
5860 | | } |
5861 | | else if constexpr (std::is_same_v<T, std::string_view> || |
5862 | 4.18k | std::is_same_v<T, std::wstring_view>) { |
5863 | 4.18k | return reader_impl_for_string<CharT>{}; |
5864 | | } |
5865 | | else if constexpr (std::is_same_v<T, std::string> || |
5866 | 8.36k | std::is_same_v<T, std::wstring>) { |
5867 | 8.36k | return reader_impl_for_string<CharT>{}; |
5868 | | } |
5869 | | else if constexpr (std::is_same_v<T, regex_matches> || |
5870 | | std::is_same_v<T, wregex_matches>) { |
5871 | | return reader_impl_for_regex_matches<CharT>{}; |
5872 | | } |
5873 | | else if constexpr (std::is_same_v<T, void*>) { |
5874 | | return reader_impl_for_voidptr<CharT>{}; |
5875 | | } |
5876 | | else if constexpr (std::is_floating_point_v<T>) { |
5877 | | return reader_impl_for_float<CharT>{}; |
5878 | | } |
5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && |
5880 | | !std::is_same_v<T, wchar_t> && |
5881 | | !std::is_same_v<T, char32_t> && |
5882 | | !std::is_same_v<T, bool>) { |
5883 | | return reader_impl_for_int<CharT>{}; |
5884 | | } |
5885 | | else { |
5886 | | return reader_impl_for_monostate<CharT>{}; |
5887 | | } |
5888 | 12.5k | } auto scn::v4::impl::make_reader<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, char>() Line | Count | Source | 5848 | 2.93k | { | 5849 | | if constexpr (std::is_same_v<T, bool>) { | 5850 | | return reader_impl_for_bool<CharT>{}; | 5851 | | } | 5852 | | else if constexpr (std::is_same_v<T, char>) { | 5853 | | return reader_impl_for_char<CharT>{}; | 5854 | | } | 5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5856 | | return reader_impl_for_wchar<CharT>{}; | 5857 | | } | 5858 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5859 | | return reader_impl_for_code_point<CharT>{}; | 5860 | | } | 5861 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5862 | | std::is_same_v<T, std::wstring_view>) { | 5863 | | return reader_impl_for_string<CharT>{}; | 5864 | | } | 5865 | | else if constexpr (std::is_same_v<T, std::string> || | 5866 | 2.93k | std::is_same_v<T, std::wstring>) { | 5867 | 2.93k | return reader_impl_for_string<CharT>{}; | 5868 | | } | 5869 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5870 | | std::is_same_v<T, wregex_matches>) { | 5871 | | return reader_impl_for_regex_matches<CharT>{}; | 5872 | | } | 5873 | | else if constexpr (std::is_same_v<T, void*>) { | 5874 | | return reader_impl_for_voidptr<CharT>{}; | 5875 | | } | 5876 | | else if constexpr (std::is_floating_point_v<T>) { | 5877 | | return reader_impl_for_float<CharT>{}; | 5878 | | } | 5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5880 | | !std::is_same_v<T, wchar_t> && | 5881 | | !std::is_same_v<T, char32_t> && | 5882 | | !std::is_same_v<T, bool>) { | 5883 | | return reader_impl_for_int<CharT>{}; | 5884 | | } | 5885 | | else { | 5886 | | return reader_impl_for_monostate<CharT>{}; | 5887 | | } | 5888 | 2.93k | } |
auto scn::v4::impl::make_reader<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >, char>() Line | Count | Source | 5848 | 2.93k | { | 5849 | | if constexpr (std::is_same_v<T, bool>) { | 5850 | | return reader_impl_for_bool<CharT>{}; | 5851 | | } | 5852 | | else if constexpr (std::is_same_v<T, char>) { | 5853 | | return reader_impl_for_char<CharT>{}; | 5854 | | } | 5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5856 | | return reader_impl_for_wchar<CharT>{}; | 5857 | | } | 5858 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5859 | | return reader_impl_for_code_point<CharT>{}; | 5860 | | } | 5861 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5862 | | std::is_same_v<T, std::wstring_view>) { | 5863 | | return reader_impl_for_string<CharT>{}; | 5864 | | } | 5865 | | else if constexpr (std::is_same_v<T, std::string> || | 5866 | 2.93k | std::is_same_v<T, std::wstring>) { | 5867 | 2.93k | return reader_impl_for_string<CharT>{}; | 5868 | | } | 5869 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5870 | | std::is_same_v<T, wregex_matches>) { | 5871 | | return reader_impl_for_regex_matches<CharT>{}; | 5872 | | } | 5873 | | else if constexpr (std::is_same_v<T, void*>) { | 5874 | | return reader_impl_for_voidptr<CharT>{}; | 5875 | | } | 5876 | | else if constexpr (std::is_floating_point_v<T>) { | 5877 | | return reader_impl_for_float<CharT>{}; | 5878 | | } | 5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5880 | | !std::is_same_v<T, wchar_t> && | 5881 | | !std::is_same_v<T, char32_t> && | 5882 | | !std::is_same_v<T, bool>) { | 5883 | | return reader_impl_for_int<CharT>{}; | 5884 | | } | 5885 | | else { | 5886 | | return reader_impl_for_monostate<CharT>{}; | 5887 | | } | 5888 | 2.93k | } |
auto scn::v4::impl::make_reader<std::__1::basic_string_view<char, std::__1::char_traits<char> >, char>() Line | Count | Source | 5848 | 2.93k | { | 5849 | | if constexpr (std::is_same_v<T, bool>) { | 5850 | | return reader_impl_for_bool<CharT>{}; | 5851 | | } | 5852 | | else if constexpr (std::is_same_v<T, char>) { | 5853 | | return reader_impl_for_char<CharT>{}; | 5854 | | } | 5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5856 | | return reader_impl_for_wchar<CharT>{}; | 5857 | | } | 5858 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5859 | | return reader_impl_for_code_point<CharT>{}; | 5860 | | } | 5861 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5862 | 2.93k | std::is_same_v<T, std::wstring_view>) { | 5863 | 2.93k | return reader_impl_for_string<CharT>{}; | 5864 | | } | 5865 | | else if constexpr (std::is_same_v<T, std::string> || | 5866 | | std::is_same_v<T, std::wstring>) { | 5867 | | return reader_impl_for_string<CharT>{}; | 5868 | | } | 5869 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5870 | | std::is_same_v<T, wregex_matches>) { | 5871 | | return reader_impl_for_regex_matches<CharT>{}; | 5872 | | } | 5873 | | else if constexpr (std::is_same_v<T, void*>) { | 5874 | | return reader_impl_for_voidptr<CharT>{}; | 5875 | | } | 5876 | | else if constexpr (std::is_floating_point_v<T>) { | 5877 | | return reader_impl_for_float<CharT>{}; | 5878 | | } | 5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5880 | | !std::is_same_v<T, wchar_t> && | 5881 | | !std::is_same_v<T, char32_t> && | 5882 | | !std::is_same_v<T, bool>) { | 5883 | | return reader_impl_for_int<CharT>{}; | 5884 | | } | 5885 | | else { | 5886 | | return reader_impl_for_monostate<CharT>{}; | 5887 | | } | 5888 | 2.93k | } |
Unexecuted instantiation: auto scn::v4::impl::make_reader<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, char>() auto scn::v4::impl::make_reader<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, wchar_t>() Line | Count | Source | 5848 | 1.25k | { | 5849 | | if constexpr (std::is_same_v<T, bool>) { | 5850 | | return reader_impl_for_bool<CharT>{}; | 5851 | | } | 5852 | | else if constexpr (std::is_same_v<T, char>) { | 5853 | | return reader_impl_for_char<CharT>{}; | 5854 | | } | 5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5856 | | return reader_impl_for_wchar<CharT>{}; | 5857 | | } | 5858 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5859 | | return reader_impl_for_code_point<CharT>{}; | 5860 | | } | 5861 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5862 | | std::is_same_v<T, std::wstring_view>) { | 5863 | | return reader_impl_for_string<CharT>{}; | 5864 | | } | 5865 | | else if constexpr (std::is_same_v<T, std::string> || | 5866 | 1.25k | std::is_same_v<T, std::wstring>) { | 5867 | 1.25k | return reader_impl_for_string<CharT>{}; | 5868 | | } | 5869 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5870 | | std::is_same_v<T, wregex_matches>) { | 5871 | | return reader_impl_for_regex_matches<CharT>{}; | 5872 | | } | 5873 | | else if constexpr (std::is_same_v<T, void*>) { | 5874 | | return reader_impl_for_voidptr<CharT>{}; | 5875 | | } | 5876 | | else if constexpr (std::is_floating_point_v<T>) { | 5877 | | return reader_impl_for_float<CharT>{}; | 5878 | | } | 5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5880 | | !std::is_same_v<T, wchar_t> && | 5881 | | !std::is_same_v<T, char32_t> && | 5882 | | !std::is_same_v<T, bool>) { | 5883 | | return reader_impl_for_int<CharT>{}; | 5884 | | } | 5885 | | else { | 5886 | | return reader_impl_for_monostate<CharT>{}; | 5887 | | } | 5888 | 1.25k | } |
auto scn::v4::impl::make_reader<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >, wchar_t>() Line | Count | Source | 5848 | 1.25k | { | 5849 | | if constexpr (std::is_same_v<T, bool>) { | 5850 | | return reader_impl_for_bool<CharT>{}; | 5851 | | } | 5852 | | else if constexpr (std::is_same_v<T, char>) { | 5853 | | return reader_impl_for_char<CharT>{}; | 5854 | | } | 5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5856 | | return reader_impl_for_wchar<CharT>{}; | 5857 | | } | 5858 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5859 | | return reader_impl_for_code_point<CharT>{}; | 5860 | | } | 5861 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5862 | | std::is_same_v<T, std::wstring_view>) { | 5863 | | return reader_impl_for_string<CharT>{}; | 5864 | | } | 5865 | | else if constexpr (std::is_same_v<T, std::string> || | 5866 | 1.25k | std::is_same_v<T, std::wstring>) { | 5867 | 1.25k | return reader_impl_for_string<CharT>{}; | 5868 | | } | 5869 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5870 | | std::is_same_v<T, wregex_matches>) { | 5871 | | return reader_impl_for_regex_matches<CharT>{}; | 5872 | | } | 5873 | | else if constexpr (std::is_same_v<T, void*>) { | 5874 | | return reader_impl_for_voidptr<CharT>{}; | 5875 | | } | 5876 | | else if constexpr (std::is_floating_point_v<T>) { | 5877 | | return reader_impl_for_float<CharT>{}; | 5878 | | } | 5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5880 | | !std::is_same_v<T, wchar_t> && | 5881 | | !std::is_same_v<T, char32_t> && | 5882 | | !std::is_same_v<T, bool>) { | 5883 | | return reader_impl_for_int<CharT>{}; | 5884 | | } | 5885 | | else { | 5886 | | return reader_impl_for_monostate<CharT>{}; | 5887 | | } | 5888 | 1.25k | } |
Unexecuted instantiation: auto scn::v4::impl::make_reader<std::__1::basic_string_view<char, std::__1::char_traits<char> >, wchar_t>() auto scn::v4::impl::make_reader<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, wchar_t>() Line | Count | Source | 5848 | 1.25k | { | 5849 | | if constexpr (std::is_same_v<T, bool>) { | 5850 | | return reader_impl_for_bool<CharT>{}; | 5851 | | } | 5852 | | else if constexpr (std::is_same_v<T, char>) { | 5853 | | return reader_impl_for_char<CharT>{}; | 5854 | | } | 5855 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5856 | | return reader_impl_for_wchar<CharT>{}; | 5857 | | } | 5858 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5859 | | return reader_impl_for_code_point<CharT>{}; | 5860 | | } | 5861 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5862 | 1.25k | std::is_same_v<T, std::wstring_view>) { | 5863 | 1.25k | return reader_impl_for_string<CharT>{}; | 5864 | | } | 5865 | | else if constexpr (std::is_same_v<T, std::string> || | 5866 | | std::is_same_v<T, std::wstring>) { | 5867 | | return reader_impl_for_string<CharT>{}; | 5868 | | } | 5869 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5870 | | std::is_same_v<T, wregex_matches>) { | 5871 | | return reader_impl_for_regex_matches<CharT>{}; | 5872 | | } | 5873 | | else if constexpr (std::is_same_v<T, void*>) { | 5874 | | return reader_impl_for_voidptr<CharT>{}; | 5875 | | } | 5876 | | else if constexpr (std::is_floating_point_v<T>) { | 5877 | | return reader_impl_for_float<CharT>{}; | 5878 | | } | 5879 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5880 | | !std::is_same_v<T, wchar_t> && | 5881 | | !std::is_same_v<T, char32_t> && | 5882 | | !std::is_same_v<T, bool>) { | 5883 | | return reader_impl_for_int<CharT>{}; | 5884 | | } | 5885 | | else { | 5886 | | return reader_impl_for_monostate<CharT>{}; | 5887 | | } | 5888 | 1.25k | } |
Unexecuted instantiation: auto scn::v4::impl::make_reader<char, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<signed char, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<short, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<int, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long long, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned char, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned short, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned int, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned long, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned long long, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<float, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<double, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long double, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::basic_regex_matches<char>, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::basic_regex_matches<wchar_t>, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<wchar_t, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<signed char, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<short, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<int, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long long, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned char, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned short, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned int, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned long, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned long long, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<float, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<double, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long double, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::basic_regex_matches<char>, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::basic_regex_matches<wchar_t>, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<void*, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<bool, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<wchar_t, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<char32_t, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::monostate, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<void*, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<bool, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<char, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<char32_t, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::monostate, wchar_t>() |
5889 | | |
5890 | | template <typename Context> |
5891 | | struct default_arg_reader { |
5892 | | using context_type = Context; |
5893 | | using char_type = typename context_type::char_type; |
5894 | | using args_type = basic_scan_args<detail::default_context<char_type>>; |
5895 | | |
5896 | | using range_type = typename context_type::range_type; |
5897 | | using iterator = ranges::iterator_t<range_type>; |
5898 | | |
5899 | | template <typename Reader, typename Range, typename T> |
5900 | | auto impl(Reader& rd, Range rng, T& value) |
5901 | | -> scan_expected<ranges::iterator_t<Range>> |
5902 | 9.57k | { |
5903 | 9.57k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) |
5904 | 9.57k | .transform_error(make_eof_scan_error)); |
5905 | 9.57k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); |
5906 | 9.57k | } Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_aEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_sEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_iEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_lEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_xEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_hEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_tEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_jEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_mEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_yEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_23reader_impl_for_voidptrIcEESA_PvEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_20reader_impl_for_boolIcEESA_bEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_20reader_impl_for_charIcEESA_cEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_wcharIcEESA_wEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_26reader_impl_for_code_pointIcEESA_DiEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_fEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_dEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_eEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5902 | 628 | { | 5903 | 628 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 628 | .transform_error(make_eof_scan_error)); | 5905 | 628 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 628 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_29reader_impl_for_regex_matchesIcEESA_NS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_29reader_impl_for_regex_matchesIcEESA_NS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_25reader_impl_for_monostateIcEESA_NS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_23reader_impl_for_voidptrIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_boolIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_charIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_wcharIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_26reader_impl_for_code_pointIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIcNSK_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEESF_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSB_12basic_stringIcSE_NSB_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIwNSK_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSC_IwNSD_IwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIwNSK_11char_traitsIwEENSK_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSB_12basic_stringIwNSD_IwEENSB_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_25reader_impl_for_monostateIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_aEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_sEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_iEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 436 | { | 5903 | 436 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 436 | .transform_error(make_eof_scan_error)); | 5905 | 436 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 436 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_lEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_xEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_hEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_tEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_jEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 436 | { | 5903 | 436 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 436 | .transform_error(make_eof_scan_error)); | 5905 | 436 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 436 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_mEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_yEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_23reader_impl_for_voidptrIwEESA_PvEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 5902 | 436 | { | 5903 | 436 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 436 | .transform_error(make_eof_scan_error)); | 5905 | 436 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 436 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_20reader_impl_for_boolIwEESA_bEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 436 | { | 5903 | 436 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 436 | .transform_error(make_eof_scan_error)); | 5905 | 436 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 436 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_20reader_impl_for_charIwEESA_cEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_wcharIwEESA_wEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 436 | { | 5903 | 436 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 436 | .transform_error(make_eof_scan_error)); | 5905 | 436 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 436 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_26reader_impl_for_code_pointIwEESA_DiEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_fEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_dEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5902 | 436 | { | 5903 | 436 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 436 | .transform_error(make_eof_scan_error)); | 5905 | 436 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 436 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_eEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5902 | 436 | { | 5903 | 436 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 436 | .transform_error(make_eof_scan_error)); | 5905 | 436 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 436 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 5902 | 436 | { | 5903 | 436 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 436 | .transform_error(make_eof_scan_error)); | 5905 | 436 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 436 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5902 | 436 | { | 5903 | 436 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5904 | 436 | .transform_error(make_eof_scan_error)); | 5905 | 436 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5906 | 436 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_29reader_impl_for_regex_matchesIwEESA_NS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_29reader_impl_for_regex_matchesIwEESA_NS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_25reader_impl_for_monostateIwEESA_NS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_23reader_impl_for_voidptrIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_boolIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_charIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_wcharIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_26reader_impl_for_code_pointIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIcNSK_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSC_IcNSD_IcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSB_12basic_stringIcNSD_IcEENSB_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIwNSK_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEESF_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIwNSK_11char_traitsIwEENSK_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSB_12basic_stringIwSE_NSB_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_25reader_impl_for_monostateIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ |
5907 | | |
5908 | | template <typename T> |
5909 | | scan_expected<iterator> operator()(T& value) |
5910 | 9.57k | { |
5911 | | if constexpr (!detail::is_type_disabled<T> && |
5912 | | std::is_same_v< |
5913 | | context_type, |
5914 | 9.57k | basic_contiguous_scan_context<char_type>>) { |
5915 | 9.57k | auto rd = make_reader<T, char_type>(); |
5916 | 9.57k | return impl(rd, range, value); |
5917 | | } |
5918 | 0 | else if constexpr (!detail::is_type_disabled<T>) { |
5919 | 0 | auto rd = make_reader<T, char_type>(); |
5920 | 0 | if (!is_segment_contiguous(range)) { |
5921 | 0 | return impl(rd, range, value); |
5922 | 0 | } |
5923 | 0 | auto crange = get_as_contiguous(range); |
5924 | 0 | SCN_TRY(it, impl(rd, crange, value)); |
5925 | 0 | return ranges::next(range.begin(), |
5926 | 0 | ranges::distance(crange.begin(), it)); |
5927 | | } |
5928 | | else { |
5929 | | SCN_EXPECT(false); |
5930 | | SCN_UNREACHABLE; |
5931 | | } |
5932 | 9.57k | } Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<short>(short&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<int>(int&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned short>(unsigned short&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned long long>(unsigned long long&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<void*>(void*&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<bool>(bool&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<char>(char&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<float>(float&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<double>(double&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long double>(long double&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 5910 | 628 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 628 | basic_contiguous_scan_context<char_type>>) { | 5915 | 628 | auto rd = make_reader<T, char_type>(); | 5916 | 628 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 628 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<short>(short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<int>(int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char>(char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<float>(float&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<double>(double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<short>(short&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<int>(int&) Line | Count | Source | 5910 | 436 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 436 | basic_contiguous_scan_context<char_type>>) { | 5915 | 436 | auto rd = make_reader<T, char_type>(); | 5916 | 436 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 436 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned short>(unsigned short&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 5910 | 436 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 436 | basic_contiguous_scan_context<char_type>>) { | 5915 | 436 | auto rd = make_reader<T, char_type>(); | 5916 | 436 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 436 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned long long>(unsigned long long&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<void*>(void*&) Line | Count | Source | 5910 | 436 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 436 | basic_contiguous_scan_context<char_type>>) { | 5915 | 436 | auto rd = make_reader<T, char_type>(); | 5916 | 436 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 436 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<bool>(bool&) Line | Count | Source | 5910 | 436 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 436 | basic_contiguous_scan_context<char_type>>) { | 5915 | 436 | auto rd = make_reader<T, char_type>(); | 5916 | 436 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 436 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<char>(char&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<wchar_t>(wchar_t&) Line | Count | Source | 5910 | 436 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 436 | basic_contiguous_scan_context<char_type>>) { | 5915 | 436 | auto rd = make_reader<T, char_type>(); | 5916 | 436 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 436 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<float>(float&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<double>(double&) Line | Count | Source | 5910 | 436 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 436 | basic_contiguous_scan_context<char_type>>) { | 5915 | 436 | auto rd = make_reader<T, char_type>(); | 5916 | 436 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 436 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 5910 | 436 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 436 | basic_contiguous_scan_context<char_type>>) { | 5915 | 436 | auto rd = make_reader<T, char_type>(); | 5916 | 436 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 436 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Line | Count | Source | 5910 | 436 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 436 | basic_contiguous_scan_context<char_type>>) { | 5915 | 436 | auto rd = make_reader<T, char_type>(); | 5916 | 436 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 436 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 5910 | 436 | { | 5911 | | if constexpr (!detail::is_type_disabled<T> && | 5912 | | std::is_same_v< | 5913 | | context_type, | 5914 | 436 | basic_contiguous_scan_context<char_type>>) { | 5915 | 436 | auto rd = make_reader<T, char_type>(); | 5916 | 436 | return impl(rd, range, value); | 5917 | | } | 5918 | | else if constexpr (!detail::is_type_disabled<T>) { | 5919 | | auto rd = make_reader<T, char_type>(); | 5920 | | if (!is_segment_contiguous(range)) { | 5921 | | return impl(rd, range, value); | 5922 | | } | 5923 | | auto crange = get_as_contiguous(range); | 5924 | | SCN_TRY(it, impl(rd, crange, value)); | 5925 | | return ranges::next(range.begin(), | 5926 | | ranges::distance(crange.begin(), it)); | 5927 | | } | 5928 | | else { | 5929 | | SCN_EXPECT(false); | 5930 | | SCN_UNREACHABLE; | 5931 | | } | 5932 | 436 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<short>(short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<int>(int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char>(char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<float>(float&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<double>(double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) |
5933 | | |
5934 | | detail::default_context<char_type> make_custom_ctx() |
5935 | 0 | { |
5936 | | if constexpr (std::is_same_v< |
5937 | | context_type, |
5938 | 0 | basic_contiguous_scan_context<char_type>>) { |
5939 | 0 | auto it = |
5940 | 0 | typename detail::basic_scan_buffer<char_type>::forward_iterator{ |
5941 | 0 | std::basic_string_view<char_type>(range.data(), |
5942 | 0 | range.size()), |
5943 | 0 | 0}; |
5944 | 0 | return {it, args, loc}; |
5945 | | } |
5946 | 0 | else { |
5947 | 0 | return {range.begin(), args, loc}; |
5948 | 0 | } |
5949 | 0 | } Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::make_custom_ctx() Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::make_custom_ctx() Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::make_custom_ctx() Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::make_custom_ctx() |
5950 | | |
5951 | | scan_expected<iterator> operator()( |
5952 | | typename basic_scan_arg<detail::default_context<char_type>>::handle h) |
5953 | 0 | { |
5954 | 0 | if constexpr (!detail::is_type_disabled<void>) { |
5955 | 0 | basic_scan_parse_context<char_type> parse_ctx{{}}; |
5956 | 0 | auto ctx = make_custom_ctx(); |
5957 | 0 | SCN_TRY_DISCARD(h.scan(parse_ctx, ctx)); |
5958 | |
|
5959 | | if constexpr (std::is_same_v< |
5960 | | context_type, |
5961 | 0 | basic_contiguous_scan_context<char_type>>) { |
5962 | 0 | return range.begin() + ctx.begin().position(); |
5963 | | } |
5964 | 0 | else { |
5965 | 0 | return ctx.begin(); |
5966 | 0 | } |
5967 | | } |
5968 | | else { |
5969 | | SCN_EXPECT(false); |
5970 | | SCN_UNREACHABLE; |
5971 | | } |
5972 | 0 | } Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) |
5973 | | |
5974 | | range_type range; |
5975 | | args_type args; |
5976 | | detail::locale_ref loc; |
5977 | | }; |
5978 | | |
5979 | | template <typename Iterator> |
5980 | | using skip_fill_result = std::pair<Iterator, std::ptrdiff_t>; |
5981 | | |
5982 | | template <typename Range> |
5983 | | auto skip_fill(Range range, |
5984 | | std::ptrdiff_t max_width, |
5985 | | const detail::fill_type& fill, |
5986 | | bool want_skipped_width) |
5987 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
5988 | 2.61k | { |
5989 | 2.61k | using char_type = detail::char_t<Range>; |
5990 | 2.61k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
5991 | | |
5992 | 2.61k | if (fill.size() <= sizeof(char_type)) { |
5993 | 1.76k | const auto fill_ch = fill.template get_code_unit<char_type>(); |
5994 | 2.89k | const auto pred = [=](char_type ch) { return ch == fill_ch; };Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEbENKUlcE_clEc _ZZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Line | Count | Source | 5994 | 948 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEbENKUlwE_clEw _ZZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Line | Count | Source | 5994 | 952 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
_ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Line | Count | Source | 5994 | 718 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
_ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Line | Count | Source | 5994 | 274 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
|
5995 | | |
5996 | 1.76k | if (max_width == 0) { |
5997 | 854 | auto it = read_while_code_unit(range, pred); |
5998 | | |
5999 | 854 | if (want_skipped_width) { |
6000 | 190 | auto prefix_width = |
6001 | 190 | static_cast<std::ptrdiff_t>( |
6002 | 190 | calculate_text_width(static_cast<char32_t>(fill_ch))) * |
6003 | 190 | ranges::distance(range.begin(), it); |
6004 | 190 | return result_type{it, prefix_width}; |
6005 | 190 | } |
6006 | 664 | return result_type{it, 0}; |
6007 | 854 | } |
6008 | | |
6009 | 906 | auto max_width_view = take_width(range, max_width); |
6010 | 906 | auto w_it = read_while_code_unit(max_width_view, pred); |
6011 | | |
6012 | 906 | if (want_skipped_width) { |
6013 | 906 | return result_type{w_it.base(), max_width - w_it.count()}; |
6014 | 906 | } |
6015 | 0 | return result_type{w_it.base(), 0}; |
6016 | 906 | } |
6017 | | |
6018 | 856 | const auto fill_chars = fill.template get_code_units<char_type>(); |
6019 | 856 | if (max_width == 0) { |
6020 | 206 | auto it = read_while_code_units(range, fill_chars); |
6021 | | |
6022 | 206 | if (want_skipped_width) { |
6023 | 52 | auto prefix_width = |
6024 | 52 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * |
6025 | 52 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); |
6026 | 52 | return result_type{it, prefix_width}; |
6027 | 52 | } |
6028 | 154 | return result_type{it, 0}; |
6029 | 206 | } |
6030 | | |
6031 | 650 | auto max_width_view = take_width(range, max_width); |
6032 | 650 | auto w_it = read_while_code_units(max_width_view, fill_chars); |
6033 | | |
6034 | 650 | if (want_skipped_width) { |
6035 | 650 | return result_type{w_it.base(), max_width - w_it.count()}; |
6036 | 650 | } |
6037 | 0 | return result_type{w_it.base(), 0}; |
6038 | 650 | } Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEb _ZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5988 | 974 | { | 5989 | 974 | using char_type = detail::char_t<Range>; | 5990 | 974 | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5991 | | | 5992 | 974 | if (fill.size() <= sizeof(char_type)) { | 5993 | 530 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5994 | 530 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5995 | | | 5996 | 530 | if (max_width == 0) { | 5997 | 426 | auto it = read_while_code_unit(range, pred); | 5998 | | | 5999 | 426 | if (want_skipped_width) { | 6000 | 118 | auto prefix_width = | 6001 | 118 | static_cast<std::ptrdiff_t>( | 6002 | 118 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 6003 | 118 | ranges::distance(range.begin(), it); | 6004 | 118 | return result_type{it, prefix_width}; | 6005 | 118 | } | 6006 | 308 | return result_type{it, 0}; | 6007 | 426 | } | 6008 | | | 6009 | 104 | auto max_width_view = take_width(range, max_width); | 6010 | 104 | auto w_it = read_while_code_unit(max_width_view, pred); | 6011 | | | 6012 | 104 | if (want_skipped_width) { | 6013 | 104 | return result_type{w_it.base(), max_width - w_it.count()}; | 6014 | 104 | } | 6015 | 0 | return result_type{w_it.base(), 0}; | 6016 | 104 | } | 6017 | | | 6018 | 444 | const auto fill_chars = fill.template get_code_units<char_type>(); | 6019 | 444 | if (max_width == 0) { | 6020 | 206 | auto it = read_while_code_units(range, fill_chars); | 6021 | | | 6022 | 206 | if (want_skipped_width) { | 6023 | 52 | auto prefix_width = | 6024 | 52 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 6025 | 52 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 6026 | 52 | return result_type{it, prefix_width}; | 6027 | 52 | } | 6028 | 154 | return result_type{it, 0}; | 6029 | 206 | } | 6030 | | | 6031 | 238 | auto max_width_view = take_width(range, max_width); | 6032 | 238 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 6033 | | | 6034 | 238 | if (want_skipped_width) { | 6035 | 238 | return result_type{w_it.base(), max_width - w_it.count()}; | 6036 | 238 | } | 6037 | 0 | return result_type{w_it.base(), 0}; | 6038 | 238 | } |
Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEb _ZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5988 | 498 | { | 5989 | 498 | using char_type = detail::char_t<Range>; | 5990 | 498 | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5991 | | | 5992 | 498 | if (fill.size() <= sizeof(char_type)) { | 5993 | 498 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5994 | 498 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5995 | | | 5996 | 498 | if (max_width == 0) { | 5997 | 428 | auto it = read_while_code_unit(range, pred); | 5998 | | | 5999 | 428 | if (want_skipped_width) { | 6000 | 72 | auto prefix_width = | 6001 | 72 | static_cast<std::ptrdiff_t>( | 6002 | 72 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 6003 | 72 | ranges::distance(range.begin(), it); | 6004 | 72 | return result_type{it, prefix_width}; | 6005 | 72 | } | 6006 | 356 | return result_type{it, 0}; | 6007 | 428 | } | 6008 | | | 6009 | 70 | auto max_width_view = take_width(range, max_width); | 6010 | 70 | auto w_it = read_while_code_unit(max_width_view, pred); | 6011 | | | 6012 | 70 | if (want_skipped_width) { | 6013 | 70 | return result_type{w_it.base(), max_width - w_it.count()}; | 6014 | 70 | } | 6015 | 0 | return result_type{w_it.base(), 0}; | 6016 | 70 | } | 6017 | | | 6018 | 0 | const auto fill_chars = fill.template get_code_units<char_type>(); | 6019 | 0 | if (max_width == 0) { | 6020 | 0 | auto it = read_while_code_units(range, fill_chars); | 6021 | |
| 6022 | 0 | if (want_skipped_width) { | 6023 | 0 | auto prefix_width = | 6024 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 6025 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 6026 | 0 | return result_type{it, prefix_width}; | 6027 | 0 | } | 6028 | 0 | return result_type{it, 0}; | 6029 | 0 | } | 6030 | | | 6031 | 0 | auto max_width_view = take_width(range, max_width); | 6032 | 0 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 6033 | |
| 6034 | 0 | if (want_skipped_width) { | 6035 | 0 | return result_type{w_it.base(), max_width - w_it.count()}; | 6036 | 0 | } | 6037 | 0 | return result_type{w_it.base(), 0}; | 6038 | 0 | } |
_ZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5988 | 916 | { | 5989 | 916 | using char_type = detail::char_t<Range>; | 5990 | 916 | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5991 | | | 5992 | 916 | if (fill.size() <= sizeof(char_type)) { | 5993 | 504 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5994 | 504 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5995 | | | 5996 | 504 | if (max_width == 0) { | 5997 | 0 | auto it = read_while_code_unit(range, pred); | 5998 | |
| 5999 | 0 | if (want_skipped_width) { | 6000 | 0 | auto prefix_width = | 6001 | 0 | static_cast<std::ptrdiff_t>( | 6002 | 0 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 6003 | 0 | ranges::distance(range.begin(), it); | 6004 | 0 | return result_type{it, prefix_width}; | 6005 | 0 | } | 6006 | 0 | return result_type{it, 0}; | 6007 | 0 | } | 6008 | | | 6009 | 504 | auto max_width_view = take_width(range, max_width); | 6010 | 504 | auto w_it = read_while_code_unit(max_width_view, pred); | 6011 | | | 6012 | 504 | if (want_skipped_width) { | 6013 | 504 | return result_type{w_it.base(), max_width - w_it.count()}; | 6014 | 504 | } | 6015 | 0 | return result_type{w_it.base(), 0}; | 6016 | 504 | } | 6017 | | | 6018 | 412 | const auto fill_chars = fill.template get_code_units<char_type>(); | 6019 | 412 | if (max_width == 0) { | 6020 | 0 | auto it = read_while_code_units(range, fill_chars); | 6021 | |
| 6022 | 0 | if (want_skipped_width) { | 6023 | 0 | auto prefix_width = | 6024 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 6025 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 6026 | 0 | return result_type{it, prefix_width}; | 6027 | 0 | } | 6028 | 0 | return result_type{it, 0}; | 6029 | 0 | } | 6030 | | | 6031 | 412 | auto max_width_view = take_width(range, max_width); | 6032 | 412 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 6033 | | | 6034 | 412 | if (want_skipped_width) { | 6035 | 412 | return result_type{w_it.base(), max_width - w_it.count()}; | 6036 | 412 | } | 6037 | 0 | return result_type{w_it.base(), 0}; | 6038 | 412 | } |
_ZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEb Line | Count | Source | 5988 | 228 | { | 5989 | 228 | using char_type = detail::char_t<Range>; | 5990 | 228 | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 5991 | | | 5992 | 228 | if (fill.size() <= sizeof(char_type)) { | 5993 | 228 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 5994 | 228 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 5995 | | | 5996 | 228 | if (max_width == 0) { | 5997 | 0 | auto it = read_while_code_unit(range, pred); | 5998 | |
| 5999 | 0 | if (want_skipped_width) { | 6000 | 0 | auto prefix_width = | 6001 | 0 | static_cast<std::ptrdiff_t>( | 6002 | 0 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 6003 | 0 | ranges::distance(range.begin(), it); | 6004 | 0 | return result_type{it, prefix_width}; | 6005 | 0 | } | 6006 | 0 | return result_type{it, 0}; | 6007 | 0 | } | 6008 | | | 6009 | 228 | auto max_width_view = take_width(range, max_width); | 6010 | 228 | auto w_it = read_while_code_unit(max_width_view, pred); | 6011 | | | 6012 | 228 | if (want_skipped_width) { | 6013 | 228 | return result_type{w_it.base(), max_width - w_it.count()}; | 6014 | 228 | } | 6015 | 0 | return result_type{w_it.base(), 0}; | 6016 | 228 | } | 6017 | | | 6018 | 0 | const auto fill_chars = fill.template get_code_units<char_type>(); | 6019 | 0 | if (max_width == 0) { | 6020 | 0 | auto it = read_while_code_units(range, fill_chars); | 6021 | |
| 6022 | 0 | if (want_skipped_width) { | 6023 | 0 | auto prefix_width = | 6024 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 6025 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 6026 | 0 | return result_type{it, prefix_width}; | 6027 | 0 | } | 6028 | 0 | return result_type{it, 0}; | 6029 | 0 | } | 6030 | | | 6031 | 0 | auto max_width_view = take_width(range, max_width); | 6032 | 0 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 6033 | |
| 6034 | 0 | if (want_skipped_width) { | 6035 | 0 | return result_type{w_it.base(), max_width - w_it.count()}; | 6036 | 0 | } | 6037 | 0 | return result_type{w_it.base(), 0}; | 6038 | 0 | } |
|
6039 | | |
6040 | | SCN_MAYBE_UNUSED constexpr scan_expected<void> check_widths_for_arg_reader( |
6041 | | const detail::format_specs& specs, |
6042 | | std::ptrdiff_t prefix_width, |
6043 | | std::ptrdiff_t value_width, |
6044 | | std::ptrdiff_t postfix_width) |
6045 | 6.34k | { |
6046 | 6.34k | if (specs.width != 0) { |
6047 | 1.84k | if (prefix_width + value_width + postfix_width < specs.width) { |
6048 | 816 | return detail::unexpected_scan_error( |
6049 | 816 | scan_error::length_too_short, |
6050 | 816 | "Scanned value too narrow, width did not exceed what " |
6051 | 816 | "was specified in the format string"); |
6052 | 816 | } |
6053 | 1.84k | } |
6054 | 5.53k | if (specs.precision != 0) { |
6055 | | // Ensured by take_width_view |
6056 | 2.14k | SCN_ENSURE(prefix_width + value_width + postfix_width <= |
6057 | 2.14k | specs.precision); |
6058 | 2.14k | } |
6059 | 5.53k | return {}; |
6060 | 5.53k | } |
6061 | | |
6062 | | template <typename Context> |
6063 | | struct arg_reader { |
6064 | | using context_type = Context; |
6065 | | using char_type = typename context_type::char_type; |
6066 | | |
6067 | | using range_type = typename context_type::range_type; |
6068 | | using iterator = ranges::iterator_t<range_type>; |
6069 | | |
6070 | | template <typename Range> |
6071 | | auto impl_prefix(Range rng, bool rd_skip_ws_before_read) |
6072 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
6073 | 15.4k | { |
6074 | 15.4k | const bool need_skipped_width = |
6075 | 15.4k | specs.width != 0 || specs.precision != 0; |
6076 | 15.4k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
6077 | | |
6078 | | // Read prefix |
6079 | 15.4k | if (specs.align == detail::align_type::right || |
6080 | 15.4k | specs.align == detail::align_type::center) { |
6081 | 1.89k | return skip_fill(rng, specs.precision, specs.fill, |
6082 | 1.89k | need_skipped_width); |
6083 | 1.89k | } |
6084 | 13.5k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { |
6085 | | // Default alignment: |
6086 | | // Skip preceding whitespace, if required by the reader |
6087 | 7.00k | if (specs.precision != 0) { |
6088 | 3.15k | auto max_width_view = take_width(rng, specs.precision); |
6089 | 3.15k | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) |
6090 | 2.93k | .transform_error(make_eof_scan_error)); |
6091 | 2.93k | return result_type{w_it.base(), specs.precision - w_it.count()}; |
6092 | 3.15k | } |
6093 | 7.69k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( |
6094 | 7.69k | make_eof_scan_error)); |
6095 | | |
6096 | 7.69k | if (need_skipped_width) { |
6097 | 2.78k | return result_type{ |
6098 | 2.78k | it, |
6099 | 2.78k | calculate_text_width(make_contiguous_buffer( |
6100 | 2.78k | ranges::subrange{rng.begin(), it}) |
6101 | 2.78k | .view())}; |
6102 | 2.78k | } |
6103 | 1.06k | return result_type{it, 0}; |
6104 | 7.69k | } |
6105 | | |
6106 | 6.57k | return result_type{rng.begin(), 0}; |
6107 | 13.5k | } Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRT_EEEElEEEESN_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE11impl_prefixINS1_15take_width_viewINSt3__117basic_string_viewIcNSA_11char_traitsIcEEEEEEEENS0_13scan_expectedINSA_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE11impl_prefixINSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEEENS0_13scan_expectedINS9_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRT_EEEElEEEESN_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE11impl_prefixINS1_15take_width_viewINSt3__117basic_string_viewIwNSA_11char_traitsIwEEEEEEEENS0_13scan_expectedINSA_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE11impl_prefixINSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEEENS0_13scan_expectedINS9_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE11impl_prefixINS1_15take_width_viewISA_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Line | Count | Source | 6073 | 4.68k | { | 6074 | 4.68k | const bool need_skipped_width = | 6075 | 4.68k | specs.width != 0 || specs.precision != 0; | 6076 | 4.68k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6077 | | | 6078 | | // Read prefix | 6079 | 4.68k | if (specs.align == detail::align_type::right || | 6080 | 4.68k | specs.align == detail::align_type::center) { | 6081 | 916 | return skip_fill(rng, specs.precision, specs.fill, | 6082 | 916 | need_skipped_width); | 6083 | 916 | } | 6084 | 3.77k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6085 | | // Default alignment: | 6086 | | // Skip preceding whitespace, if required by the reader | 6087 | 2.29k | if (specs.precision != 0) { | 6088 | 2.29k | auto max_width_view = take_width(rng, specs.precision); | 6089 | 2.29k | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6090 | 2.07k | .transform_error(make_eof_scan_error)); | 6091 | 2.07k | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6092 | 2.29k | } | 6093 | 0 | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6094 | 0 | make_eof_scan_error)); | 6095 | |
| 6096 | 0 | if (need_skipped_width) { | 6097 | 0 | return result_type{ | 6098 | 0 | it, | 6099 | 0 | calculate_text_width(make_contiguous_buffer( | 6100 | 0 | ranges::subrange{rng.begin(), it}) | 6101 | 0 | .view())}; | 6102 | 0 | } | 6103 | 0 | return result_type{it, 0}; | 6104 | 0 | } | 6105 | | | 6106 | 1.47k | return result_type{rng.begin(), 0}; | 6107 | 3.77k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE11impl_prefixISA_EENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Line | Count | Source | 6073 | 5.82k | { | 6074 | 5.82k | const bool need_skipped_width = | 6075 | 5.82k | specs.width != 0 || specs.precision != 0; | 6076 | 5.82k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6077 | | | 6078 | | // Read prefix | 6079 | 5.82k | if (specs.align == detail::align_type::right || | 6080 | 5.82k | specs.align == detail::align_type::center) { | 6081 | 428 | return skip_fill(rng, specs.precision, specs.fill, | 6082 | 428 | need_skipped_width); | 6083 | 428 | } | 6084 | 5.39k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6085 | | // Default alignment: | 6086 | | // Skip preceding whitespace, if required by the reader | 6087 | 1.63k | if (specs.precision != 0) { | 6088 | 0 | auto max_width_view = take_width(rng, specs.precision); | 6089 | 0 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6090 | 0 | .transform_error(make_eof_scan_error)); | 6091 | 0 | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6092 | 0 | } | 6093 | 3.27k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6094 | 3.27k | make_eof_scan_error)); | 6095 | | | 6096 | 3.27k | if (need_skipped_width) { | 6097 | 1.03k | return result_type{ | 6098 | 1.03k | it, | 6099 | 1.03k | calculate_text_width(make_contiguous_buffer( | 6100 | 1.03k | ranges::subrange{rng.begin(), it}) | 6101 | 1.03k | .view())}; | 6102 | 1.03k | } | 6103 | 606 | return result_type{it, 0}; | 6104 | 3.27k | } | 6105 | | | 6106 | 3.76k | return result_type{rng.begin(), 0}; | 6107 | 5.39k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE11impl_prefixINS1_15take_width_viewISA_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Line | Count | Source | 6073 | 1.61k | { | 6074 | 1.61k | const bool need_skipped_width = | 6075 | 1.61k | specs.width != 0 || specs.precision != 0; | 6076 | 1.61k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6077 | | | 6078 | | // Read prefix | 6079 | 1.61k | if (specs.align == detail::align_type::right || | 6080 | 1.61k | specs.align == detail::align_type::center) { | 6081 | 228 | return skip_fill(rng, specs.precision, specs.fill, | 6082 | 228 | need_skipped_width); | 6083 | 228 | } | 6084 | 1.38k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6085 | | // Default alignment: | 6086 | | // Skip preceding whitespace, if required by the reader | 6087 | 860 | if (specs.precision != 0) { | 6088 | 860 | auto max_width_view = take_width(rng, specs.precision); | 6089 | 860 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6090 | 860 | .transform_error(make_eof_scan_error)); | 6091 | 860 | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6092 | 860 | } | 6093 | 0 | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6094 | 0 | make_eof_scan_error)); | 6095 | |
| 6096 | 0 | if (need_skipped_width) { | 6097 | 0 | return result_type{ | 6098 | 0 | it, | 6099 | 0 | calculate_text_width(make_contiguous_buffer( | 6100 | 0 | ranges::subrange{rng.begin(), it}) | 6101 | 0 | .view())}; | 6102 | 0 | } | 6103 | 0 | return result_type{it, 0}; | 6104 | 0 | } | 6105 | | | 6106 | 522 | return result_type{rng.begin(), 0}; | 6107 | 1.38k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE11impl_prefixISA_EENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Line | Count | Source | 6073 | 3.35k | { | 6074 | 3.35k | const bool need_skipped_width = | 6075 | 3.35k | specs.width != 0 || specs.precision != 0; | 6076 | 3.35k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6077 | | | 6078 | | // Read prefix | 6079 | 3.35k | if (specs.align == detail::align_type::right || | 6080 | 3.35k | specs.align == detail::align_type::center) { | 6081 | 326 | return skip_fill(rng, specs.precision, specs.fill, | 6082 | 326 | need_skipped_width); | 6083 | 326 | } | 6084 | 3.03k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6085 | | // Default alignment: | 6086 | | // Skip preceding whitespace, if required by the reader | 6087 | 2.21k | if (specs.precision != 0) { | 6088 | 0 | auto max_width_view = take_width(rng, specs.precision); | 6089 | 0 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6090 | 0 | .transform_error(make_eof_scan_error)); | 6091 | 0 | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6092 | 0 | } | 6093 | 4.42k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6094 | 4.42k | make_eof_scan_error)); | 6095 | | | 6096 | 4.42k | if (need_skipped_width) { | 6097 | 1.75k | return result_type{ | 6098 | 1.75k | it, | 6099 | 1.75k | calculate_text_width(make_contiguous_buffer( | 6100 | 1.75k | ranges::subrange{rng.begin(), it}) | 6101 | 1.75k | .view())}; | 6102 | 1.75k | } | 6103 | 458 | return result_type{it, 0}; | 6104 | 4.42k | } | 6105 | | | 6106 | 820 | return result_type{rng.begin(), 0}; | 6107 | 3.03k | } |
|
6108 | | |
6109 | | template <typename Range> |
6110 | | auto impl_postfix(Range rng, |
6111 | | bool rd_skip_ws_before_read, |
6112 | | std::ptrdiff_t prefix_width, |
6113 | | std::ptrdiff_t value_width) |
6114 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
6115 | 4.62k | { |
6116 | 4.62k | const bool need_skipped_width = |
6117 | 4.62k | specs.width != 0 || specs.precision != 0; |
6118 | 4.62k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
6119 | | |
6120 | 4.62k | if (specs.align == detail::align_type::left || |
6121 | 4.62k | specs.align == detail::align_type::center) { |
6122 | 872 | if (specs.precision != 0 && |
6123 | 872 | specs.precision - value_width - prefix_width == 0) { |
6124 | 154 | return result_type{rng.begin(), 0}; |
6125 | 154 | } |
6126 | 718 | return skip_fill(rng, specs.precision - value_width - prefix_width, |
6127 | 718 | specs.fill, need_skipped_width); |
6128 | 872 | } |
6129 | 3.75k | if (specs.align == detail::align_type::none && |
6130 | 3.75k | !rd_skip_ws_before_read && |
6131 | 3.75k | ((specs.width != 0 && prefix_width + value_width < specs.width) || |
6132 | 3.07k | (specs.precision != 0 && |
6133 | 2.60k | prefix_width + value_width < specs.precision))) { |
6134 | 1.27k | if (specs.precision != 0) { |
6135 | 800 | const auto initial_width = |
6136 | 800 | specs.precision - prefix_width - value_width; |
6137 | 800 | auto max_width_view = take_width(rng, initial_width); |
6138 | 800 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) |
6139 | 800 | .transform_error(make_eof_scan_error)); |
6140 | 800 | return result_type{w_it.base(), initial_width - w_it.count()}; |
6141 | 800 | } |
6142 | 944 | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( |
6143 | 944 | make_eof_scan_error)); |
6144 | | |
6145 | 944 | if (need_skipped_width) { |
6146 | 472 | return result_type{ |
6147 | 472 | it, |
6148 | 472 | calculate_text_width(make_contiguous_buffer( |
6149 | 472 | ranges::subrange{rng.begin(), it}) |
6150 | 472 | .view())}; |
6151 | 472 | } |
6152 | 0 | return result_type{it, 0}; |
6153 | 944 | } |
6154 | 2.48k | return result_type{rng.begin(), 0}; |
6155 | 3.75k | } Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_bll Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_bll Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_bll Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_bll _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE12impl_postfixISA_EENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll Line | Count | Source | 6115 | 3.21k | { | 6116 | 3.21k | const bool need_skipped_width = | 6117 | 3.21k | specs.width != 0 || specs.precision != 0; | 6118 | 3.21k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6119 | | | 6120 | 3.21k | if (specs.align == detail::align_type::left || | 6121 | 3.21k | specs.align == detail::align_type::center) { | 6122 | 650 | if (specs.precision != 0 && | 6123 | 650 | specs.precision - value_width - prefix_width == 0) { | 6124 | 104 | return result_type{rng.begin(), 0}; | 6125 | 104 | } | 6126 | 546 | return skip_fill(rng, specs.precision - value_width - prefix_width, | 6127 | 546 | specs.fill, need_skipped_width); | 6128 | 650 | } | 6129 | 2.56k | if (specs.align == detail::align_type::none && | 6130 | 2.56k | !rd_skip_ws_before_read && | 6131 | 2.56k | ((specs.width != 0 && prefix_width + value_width < specs.width) || | 6132 | 2.10k | (specs.precision != 0 && | 6133 | 1.91k | prefix_width + value_width < specs.precision))) { | 6134 | 728 | if (specs.precision != 0) { | 6135 | 536 | const auto initial_width = | 6136 | 536 | specs.precision - prefix_width - value_width; | 6137 | 536 | auto max_width_view = take_width(rng, initial_width); | 6138 | 536 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) | 6139 | 536 | .transform_error(make_eof_scan_error)); | 6140 | 536 | return result_type{w_it.base(), initial_width - w_it.count()}; | 6141 | 536 | } | 6142 | 384 | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( | 6143 | 384 | make_eof_scan_error)); | 6144 | | | 6145 | 384 | if (need_skipped_width) { | 6146 | 192 | return result_type{ | 6147 | 192 | it, | 6148 | 192 | calculate_text_width(make_contiguous_buffer( | 6149 | 192 | ranges::subrange{rng.begin(), it}) | 6150 | 192 | .view())}; | 6151 | 192 | } | 6152 | 0 | return result_type{it, 0}; | 6153 | 384 | } | 6154 | 1.83k | return result_type{rng.begin(), 0}; | 6155 | 2.56k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE12impl_postfixISA_EENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll Line | Count | Source | 6115 | 1.40k | { | 6116 | 1.40k | const bool need_skipped_width = | 6117 | 1.40k | specs.width != 0 || specs.precision != 0; | 6118 | 1.40k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6119 | | | 6120 | 1.40k | if (specs.align == detail::align_type::left || | 6121 | 1.40k | specs.align == detail::align_type::center) { | 6122 | 222 | if (specs.precision != 0 && | 6123 | 222 | specs.precision - value_width - prefix_width == 0) { | 6124 | 50 | return result_type{rng.begin(), 0}; | 6125 | 50 | } | 6126 | 172 | return skip_fill(rng, specs.precision - value_width - prefix_width, | 6127 | 172 | specs.fill, need_skipped_width); | 6128 | 222 | } | 6129 | 1.18k | if (specs.align == detail::align_type::none && | 6130 | 1.18k | !rd_skip_ws_before_read && | 6131 | 1.18k | ((specs.width != 0 && prefix_width + value_width < specs.width) || | 6132 | 970 | (specs.precision != 0 && | 6133 | 690 | prefix_width + value_width < specs.precision))) { | 6134 | 544 | if (specs.precision != 0) { | 6135 | 264 | const auto initial_width = | 6136 | 264 | specs.precision - prefix_width - value_width; | 6137 | 264 | auto max_width_view = take_width(rng, initial_width); | 6138 | 264 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) | 6139 | 264 | .transform_error(make_eof_scan_error)); | 6140 | 264 | return result_type{w_it.base(), initial_width - w_it.count()}; | 6141 | 264 | } | 6142 | 560 | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( | 6143 | 560 | make_eof_scan_error)); | 6144 | | | 6145 | 560 | if (need_skipped_width) { | 6146 | 280 | return result_type{ | 6147 | 280 | it, | 6148 | 280 | calculate_text_width(make_contiguous_buffer( | 6149 | 280 | ranges::subrange{rng.begin(), it}) | 6150 | 280 | .view())}; | 6151 | 280 | } | 6152 | 0 | return result_type{it, 0}; | 6153 | 560 | } | 6154 | 642 | return result_type{rng.begin(), 0}; | 6155 | 1.18k | } |
|
6156 | | |
6157 | | template <typename Reader, typename Range, typename T> |
6158 | | auto impl(Reader& rd, Range rng, T& value) |
6159 | | -> scan_expected<ranges::iterator_t<Range>> |
6160 | 15.4k | { |
6161 | 15.4k | const bool need_skipped_width = |
6162 | 15.4k | specs.width != 0 || specs.precision != 0; |
6163 | | |
6164 | | // Read prefix |
6165 | 15.4k | auto it = rng.begin(); |
6166 | 15.4k | std::ptrdiff_t prefix_width = 0; |
6167 | 15.4k | if (specs.precision != 0) { |
6168 | 6.29k | auto max_width_view = take_width(rng, specs.precision); |
6169 | 6.29k | SCN_TRY(prefix_result, |
6170 | 6.07k | impl_prefix(max_width_view, rd.skip_ws_before_read())); |
6171 | 6.07k | it = prefix_result.first.base(); |
6172 | 6.07k | prefix_width = prefix_result.second; |
6173 | 6.07k | } |
6174 | 9.18k | else { |
6175 | 9.18k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); |
6176 | 9.18k | std::tie(it, prefix_width) = prefix_result; |
6177 | 9.18k | } |
6178 | 15.2k | auto prefix_end_it = it; |
6179 | | |
6180 | | // Read value |
6181 | 15.2k | std::ptrdiff_t value_width = 0; |
6182 | 15.2k | if (specs.precision != 0) { |
6183 | 6.07k | if (specs.precision <= prefix_width) { |
6184 | 64 | return detail::unexpected_scan_error( |
6185 | 64 | scan_error::invalid_fill, |
6186 | 64 | "Too many fill characters before value, " |
6187 | 64 | "precision exceeded before reading value"); |
6188 | 64 | } |
6189 | | |
6190 | 6.01k | const auto initial_width = specs.precision - prefix_width; |
6191 | 6.01k | auto max_width_view = |
6192 | 6.01k | take_width(ranges::subrange{it, rng.end()}, initial_width); |
6193 | 6.01k | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); |
6194 | 2.14k | it = w_it.base(); |
6195 | 2.14k | value_width = initial_width - w_it.count(); |
6196 | 2.14k | } |
6197 | 9.18k | else { |
6198 | 9.18k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, |
6199 | 4.20k | specs, value, loc)); |
6200 | | |
6201 | 4.20k | if (need_skipped_width) { |
6202 | 1.78k | value_width = calculate_text_width( |
6203 | 1.78k | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) |
6204 | 1.78k | .view()); |
6205 | 1.78k | } |
6206 | 4.20k | } |
6207 | | |
6208 | | // Read postfix |
6209 | 6.34k | std::ptrdiff_t postfix_width = 0; |
6210 | 6.34k | if (it != rng.end()) { |
6211 | 4.62k | SCN_TRY(postfix_result, |
6212 | 4.62k | impl_postfix(ranges::subrange{it, rng.end()}, |
6213 | 4.62k | rd.skip_ws_before_read(), prefix_width, |
6214 | 4.62k | value_width)); |
6215 | 4.62k | std::tie(it, postfix_width) = postfix_result; |
6216 | 4.62k | } |
6217 | | |
6218 | 6.34k | SCN_TRY_DISCARD(check_widths_for_arg_reader( |
6219 | 6.34k | specs, prefix_width, value_width, postfix_width)); |
6220 | 5.53k | return it; |
6221 | 6.34k | } Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_charIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSB_12basic_stringIcSE_NSB_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIwNSK_11char_traitsIwEENSK_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSB_12basic_stringIwNSD_IwEENSB_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIcNSK_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEESF_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIwNSK_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSC_IwNSD_IwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_wcharIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSB_12basic_stringIcNSD_IcEENSB_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIwNSK_11char_traitsIwEENSK_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSB_12basic_stringIwSE_NSB_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIcNSK_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSC_IcNSD_IcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIwNSK_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEESF_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_aEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_sEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_iEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 644 | { | 6161 | 644 | const bool need_skipped_width = | 6162 | 644 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 644 | auto it = rng.begin(); | 6166 | 644 | std::ptrdiff_t prefix_width = 0; | 6167 | 644 | if (specs.precision != 0) { | 6168 | 368 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 368 | SCN_TRY(prefix_result, | 6170 | 338 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 338 | it = prefix_result.first.base(); | 6172 | 338 | prefix_width = prefix_result.second; | 6173 | 338 | } | 6174 | 276 | else { | 6175 | 276 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 276 | std::tie(it, prefix_width) = prefix_result; | 6177 | 276 | } | 6178 | 614 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 614 | std::ptrdiff_t value_width = 0; | 6182 | 614 | if (specs.precision != 0) { | 6183 | 338 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 334 | const auto initial_width = specs.precision - prefix_width; | 6191 | 334 | auto max_width_view = | 6192 | 334 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 334 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 276 | else { | 6198 | 276 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_lEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_xEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_hEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_tEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_jEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 644 | { | 6161 | 644 | const bool need_skipped_width = | 6162 | 644 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 644 | auto it = rng.begin(); | 6166 | 644 | std::ptrdiff_t prefix_width = 0; | 6167 | 644 | if (specs.precision != 0) { | 6168 | 368 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 368 | SCN_TRY(prefix_result, | 6170 | 338 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 338 | it = prefix_result.first.base(); | 6172 | 338 | prefix_width = prefix_result.second; | 6173 | 338 | } | 6174 | 276 | else { | 6175 | 276 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 276 | std::tie(it, prefix_width) = prefix_result; | 6177 | 276 | } | 6178 | 614 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 614 | std::ptrdiff_t value_width = 0; | 6182 | 614 | if (specs.precision != 0) { | 6183 | 338 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 334 | const auto initial_width = specs.precision - prefix_width; | 6191 | 334 | auto max_width_view = | 6192 | 334 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 334 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 276 | else { | 6198 | 276 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_mEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_yEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_23reader_impl_for_voidptrIcEESA_PvEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 6160 | 572 | { | 6161 | 572 | const bool need_skipped_width = | 6162 | 572 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 572 | auto it = rng.begin(); | 6166 | 572 | std::ptrdiff_t prefix_width = 0; | 6167 | 572 | if (specs.precision != 0) { | 6168 | 324 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 324 | SCN_TRY(prefix_result, | 6170 | 302 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 302 | it = prefix_result.first.base(); | 6172 | 302 | prefix_width = prefix_result.second; | 6173 | 302 | } | 6174 | 248 | else { | 6175 | 248 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 248 | std::tie(it, prefix_width) = prefix_result; | 6177 | 248 | } | 6178 | 550 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 550 | std::ptrdiff_t value_width = 0; | 6182 | 550 | if (specs.precision != 0) { | 6183 | 302 | if (specs.precision <= prefix_width) { | 6184 | 2 | return detail::unexpected_scan_error( | 6185 | 2 | scan_error::invalid_fill, | 6186 | 2 | "Too many fill characters before value, " | 6187 | 2 | "precision exceeded before reading value"); | 6188 | 2 | } | 6189 | | | 6190 | 300 | const auto initial_width = specs.precision - prefix_width; | 6191 | 300 | auto max_width_view = | 6192 | 300 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 300 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 248 | else { | 6198 | 248 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_20reader_impl_for_boolIcEESA_bEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 872 | { | 6161 | 872 | const bool need_skipped_width = | 6162 | 872 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 872 | auto it = rng.begin(); | 6166 | 872 | std::ptrdiff_t prefix_width = 0; | 6167 | 872 | if (specs.precision != 0) { | 6168 | 462 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 462 | SCN_TRY(prefix_result, | 6170 | 428 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 428 | it = prefix_result.first.base(); | 6172 | 428 | prefix_width = prefix_result.second; | 6173 | 428 | } | 6174 | 410 | else { | 6175 | 410 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 410 | std::tie(it, prefix_width) = prefix_result; | 6177 | 410 | } | 6178 | 838 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 838 | std::ptrdiff_t value_width = 0; | 6182 | 838 | if (specs.precision != 0) { | 6183 | 428 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 424 | const auto initial_width = specs.precision - prefix_width; | 6191 | 424 | auto max_width_view = | 6192 | 424 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 424 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 410 | else { | 6198 | 410 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_20reader_impl_for_charIcEESA_cEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 624 | { | 6161 | 624 | const bool need_skipped_width = | 6162 | 624 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 624 | auto it = rng.begin(); | 6166 | 624 | std::ptrdiff_t prefix_width = 0; | 6167 | 624 | if (specs.precision != 0) { | 6168 | 358 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 358 | SCN_TRY(prefix_result, | 6170 | 358 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 358 | it = prefix_result.first.base(); | 6172 | 358 | prefix_width = prefix_result.second; | 6173 | 358 | } | 6174 | 266 | else { | 6175 | 266 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 266 | std::tie(it, prefix_width) = prefix_result; | 6177 | 266 | } | 6178 | 624 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 624 | std::ptrdiff_t value_width = 0; | 6182 | 624 | if (specs.precision != 0) { | 6183 | 358 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 354 | const auto initial_width = specs.precision - prefix_width; | 6191 | 354 | auto max_width_view = | 6192 | 354 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 354 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 320 | it = w_it.base(); | 6195 | 320 | value_width = initial_width - w_it.count(); | 6196 | 320 | } | 6197 | 266 | else { | 6198 | 266 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 244 | specs, value, loc)); | 6200 | | | 6201 | 244 | if (need_skipped_width) { | 6202 | 178 | value_width = calculate_text_width( | 6203 | 178 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 178 | .view()); | 6205 | 178 | } | 6206 | 244 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 564 | std::ptrdiff_t postfix_width = 0; | 6210 | 564 | if (it != rng.end()) { | 6211 | 564 | SCN_TRY(postfix_result, | 6212 | 564 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 564 | rd.skip_ws_before_read(), prefix_width, | 6214 | 564 | value_width)); | 6215 | 564 | std::tie(it, postfix_width) = postfix_result; | 6216 | 564 | } | 6217 | | | 6218 | 564 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 564 | specs, prefix_width, value_width, postfix_width)); | 6220 | 406 | return it; | 6221 | 564 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_wcharIcEESA_wEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_26reader_impl_for_code_pointIcEESA_DiEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_fEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_dEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 646 | { | 6161 | 646 | const bool need_skipped_width = | 6162 | 646 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 646 | auto it = rng.begin(); | 6166 | 646 | std::ptrdiff_t prefix_width = 0; | 6167 | 646 | if (specs.precision != 0) { | 6168 | 370 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 370 | SCN_TRY(prefix_result, | 6170 | 342 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 342 | it = prefix_result.first.base(); | 6172 | 342 | prefix_width = prefix_result.second; | 6173 | 342 | } | 6174 | 276 | else { | 6175 | 276 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 276 | std::tie(it, prefix_width) = prefix_result; | 6177 | 276 | } | 6178 | 618 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 618 | std::ptrdiff_t value_width = 0; | 6182 | 618 | if (specs.precision != 0) { | 6183 | 342 | if (specs.precision <= prefix_width) { | 6184 | 6 | return detail::unexpected_scan_error( | 6185 | 6 | scan_error::invalid_fill, | 6186 | 6 | "Too many fill characters before value, " | 6187 | 6 | "precision exceeded before reading value"); | 6188 | 6 | } | 6189 | | | 6190 | 336 | const auto initial_width = specs.precision - prefix_width; | 6191 | 336 | auto max_width_view = | 6192 | 336 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 336 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 276 | else { | 6198 | 276 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_eEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 6160 | 2.17k | { | 6161 | 2.17k | const bool need_skipped_width = | 6162 | 2.17k | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 2.17k | auto it = rng.begin(); | 6166 | 2.17k | std::ptrdiff_t prefix_width = 0; | 6167 | 2.17k | if (specs.precision != 0) { | 6168 | 812 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 812 | SCN_TRY(prefix_result, | 6170 | 786 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 786 | it = prefix_result.first.base(); | 6172 | 786 | prefix_width = prefix_result.second; | 6173 | 786 | } | 6174 | 1.35k | else { | 6175 | 1.35k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 1.35k | std::tie(it, prefix_width) = prefix_result; | 6177 | 1.35k | } | 6178 | 2.14k | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 2.14k | std::ptrdiff_t value_width = 0; | 6182 | 2.14k | if (specs.precision != 0) { | 6183 | 786 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 782 | const auto initial_width = specs.precision - prefix_width; | 6191 | 782 | auto max_width_view = | 6192 | 782 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 782 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 394 | it = w_it.base(); | 6195 | 394 | value_width = initial_width - w_it.count(); | 6196 | 394 | } | 6197 | 1.35k | else { | 6198 | 1.35k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 808 | specs, value, loc)); | 6200 | | | 6201 | 808 | if (need_skipped_width) { | 6202 | 212 | value_width = calculate_text_width( | 6203 | 212 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 212 | .view()); | 6205 | 212 | } | 6206 | 808 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 1.20k | std::ptrdiff_t postfix_width = 0; | 6210 | 1.20k | if (it != rng.end()) { | 6211 | 884 | SCN_TRY(postfix_result, | 6212 | 884 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 884 | rd.skip_ws_before_read(), prefix_width, | 6214 | 884 | value_width)); | 6215 | 884 | std::tie(it, postfix_width) = postfix_result; | 6216 | 884 | } | 6217 | | | 6218 | 1.20k | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 1.20k | specs, prefix_width, value_width, postfix_width)); | 6220 | 1.10k | return it; | 6221 | 1.20k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6160 | 2.17k | { | 6161 | 2.17k | const bool need_skipped_width = | 6162 | 2.17k | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 2.17k | auto it = rng.begin(); | 6166 | 2.17k | std::ptrdiff_t prefix_width = 0; | 6167 | 2.17k | if (specs.precision != 0) { | 6168 | 812 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 812 | SCN_TRY(prefix_result, | 6170 | 786 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 786 | it = prefix_result.first.base(); | 6172 | 786 | prefix_width = prefix_result.second; | 6173 | 786 | } | 6174 | 1.35k | else { | 6175 | 1.35k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 1.35k | std::tie(it, prefix_width) = prefix_result; | 6177 | 1.35k | } | 6178 | 2.14k | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 2.14k | std::ptrdiff_t value_width = 0; | 6182 | 2.14k | if (specs.precision != 0) { | 6183 | 786 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 782 | const auto initial_width = specs.precision - prefix_width; | 6191 | 782 | auto max_width_view = | 6192 | 782 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 782 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 394 | it = w_it.base(); | 6195 | 394 | value_width = initial_width - w_it.count(); | 6196 | 394 | } | 6197 | 1.35k | else { | 6198 | 1.35k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 808 | specs, value, loc)); | 6200 | | | 6201 | 808 | if (need_skipped_width) { | 6202 | 212 | value_width = calculate_text_width( | 6203 | 212 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 212 | .view()); | 6205 | 212 | } | 6206 | 808 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 1.20k | std::ptrdiff_t postfix_width = 0; | 6210 | 1.20k | if (it != rng.end()) { | 6211 | 884 | SCN_TRY(postfix_result, | 6212 | 884 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 884 | rd.skip_ws_before_read(), prefix_width, | 6214 | 884 | value_width)); | 6215 | 884 | std::tie(it, postfix_width) = postfix_result; | 6216 | 884 | } | 6217 | | | 6218 | 1.20k | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 1.20k | specs, prefix_width, value_width, postfix_width)); | 6220 | 1.10k | return it; | 6221 | 1.20k | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6160 | 2.17k | { | 6161 | 2.17k | const bool need_skipped_width = | 6162 | 2.17k | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 2.17k | auto it = rng.begin(); | 6166 | 2.17k | std::ptrdiff_t prefix_width = 0; | 6167 | 2.17k | if (specs.precision != 0) { | 6168 | 812 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 812 | SCN_TRY(prefix_result, | 6170 | 786 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 786 | it = prefix_result.first.base(); | 6172 | 786 | prefix_width = prefix_result.second; | 6173 | 786 | } | 6174 | 1.35k | else { | 6175 | 1.35k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 1.35k | std::tie(it, prefix_width) = prefix_result; | 6177 | 1.35k | } | 6178 | 2.14k | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 2.14k | std::ptrdiff_t value_width = 0; | 6182 | 2.14k | if (specs.precision != 0) { | 6183 | 786 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 782 | const auto initial_width = specs.precision - prefix_width; | 6191 | 782 | auto max_width_view = | 6192 | 782 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 782 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 394 | it = w_it.base(); | 6195 | 394 | value_width = initial_width - w_it.count(); | 6196 | 394 | } | 6197 | 1.35k | else { | 6198 | 1.35k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 808 | specs, value, loc)); | 6200 | | | 6201 | 808 | if (need_skipped_width) { | 6202 | 212 | value_width = calculate_text_width( | 6203 | 212 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 212 | .view()); | 6205 | 212 | } | 6206 | 808 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 1.20k | std::ptrdiff_t postfix_width = 0; | 6210 | 1.20k | if (it != rng.end()) { | 6211 | 884 | SCN_TRY(postfix_result, | 6212 | 884 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 884 | rd.skip_ws_before_read(), prefix_width, | 6214 | 884 | value_width)); | 6215 | 884 | std::tie(it, postfix_width) = postfix_result; | 6216 | 884 | } | 6217 | | | 6218 | 1.20k | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 1.20k | specs, prefix_width, value_width, postfix_width)); | 6220 | 1.10k | return it; | 6221 | 1.20k | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_29reader_impl_for_regex_matchesIcEESA_NS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_29reader_impl_for_regex_matchesIcEESA_NS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_25reader_impl_for_monostateIcEESA_NS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_23reader_impl_for_voidptrIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_boolIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_wcharIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_26reader_impl_for_code_pointIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_25reader_impl_for_monostateIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_aEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_sEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_iEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 470 | { | 6161 | 470 | const bool need_skipped_width = | 6162 | 470 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 470 | auto it = rng.begin(); | 6166 | 470 | std::ptrdiff_t prefix_width = 0; | 6167 | 470 | if (specs.precision != 0) { | 6168 | 146 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 146 | SCN_TRY(prefix_result, | 6170 | 146 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 146 | it = prefix_result.first.base(); | 6172 | 146 | prefix_width = prefix_result.second; | 6173 | 146 | } | 6174 | 324 | else { | 6175 | 324 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 324 | std::tie(it, prefix_width) = prefix_result; | 6177 | 324 | } | 6178 | 470 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 470 | std::ptrdiff_t value_width = 0; | 6182 | 470 | if (specs.precision != 0) { | 6183 | 146 | if (specs.precision <= prefix_width) { | 6184 | 2 | return detail::unexpected_scan_error( | 6185 | 2 | scan_error::invalid_fill, | 6186 | 2 | "Too many fill characters before value, " | 6187 | 2 | "precision exceeded before reading value"); | 6188 | 2 | } | 6189 | | | 6190 | 144 | const auto initial_width = specs.precision - prefix_width; | 6191 | 144 | auto max_width_view = | 6192 | 144 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 144 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 324 | else { | 6198 | 324 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_lEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_xEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_hEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_tEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_jEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 470 | { | 6161 | 470 | const bool need_skipped_width = | 6162 | 470 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 470 | auto it = rng.begin(); | 6166 | 470 | std::ptrdiff_t prefix_width = 0; | 6167 | 470 | if (specs.precision != 0) { | 6168 | 146 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 146 | SCN_TRY(prefix_result, | 6170 | 146 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 146 | it = prefix_result.first.base(); | 6172 | 146 | prefix_width = prefix_result.second; | 6173 | 146 | } | 6174 | 324 | else { | 6175 | 324 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 324 | std::tie(it, prefix_width) = prefix_result; | 6177 | 324 | } | 6178 | 470 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 470 | std::ptrdiff_t value_width = 0; | 6182 | 470 | if (specs.precision != 0) { | 6183 | 146 | if (specs.precision <= prefix_width) { | 6184 | 2 | return detail::unexpected_scan_error( | 6185 | 2 | scan_error::invalid_fill, | 6186 | 2 | "Too many fill characters before value, " | 6187 | 2 | "precision exceeded before reading value"); | 6188 | 2 | } | 6189 | | | 6190 | 144 | const auto initial_width = specs.precision - prefix_width; | 6191 | 144 | auto max_width_view = | 6192 | 144 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 144 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 324 | else { | 6198 | 324 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_mEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_yEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_23reader_impl_for_voidptrIwEESA_PvEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 6160 | 402 | { | 6161 | 402 | const bool need_skipped_width = | 6162 | 402 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 402 | auto it = rng.begin(); | 6166 | 402 | std::ptrdiff_t prefix_width = 0; | 6167 | 402 | if (specs.precision != 0) { | 6168 | 112 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 112 | SCN_TRY(prefix_result, | 6170 | 112 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 112 | it = prefix_result.first.base(); | 6172 | 112 | prefix_width = prefix_result.second; | 6173 | 112 | } | 6174 | 290 | else { | 6175 | 290 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 290 | std::tie(it, prefix_width) = prefix_result; | 6177 | 290 | } | 6178 | 402 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 402 | std::ptrdiff_t value_width = 0; | 6182 | 402 | if (specs.precision != 0) { | 6183 | 112 | if (specs.precision <= prefix_width) { | 6184 | 2 | return detail::unexpected_scan_error( | 6185 | 2 | scan_error::invalid_fill, | 6186 | 2 | "Too many fill characters before value, " | 6187 | 2 | "precision exceeded before reading value"); | 6188 | 2 | } | 6189 | | | 6190 | 110 | const auto initial_width = specs.precision - prefix_width; | 6191 | 110 | auto max_width_view = | 6192 | 110 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 110 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 290 | else { | 6198 | 290 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_20reader_impl_for_boolIwEESA_bEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 548 | { | 6161 | 548 | const bool need_skipped_width = | 6162 | 548 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 548 | auto it = rng.begin(); | 6166 | 548 | std::ptrdiff_t prefix_width = 0; | 6167 | 548 | if (specs.precision != 0) { | 6168 | 172 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 172 | SCN_TRY(prefix_result, | 6170 | 172 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 172 | it = prefix_result.first.base(); | 6172 | 172 | prefix_width = prefix_result.second; | 6173 | 172 | } | 6174 | 376 | else { | 6175 | 376 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 376 | std::tie(it, prefix_width) = prefix_result; | 6177 | 376 | } | 6178 | 548 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 548 | std::ptrdiff_t value_width = 0; | 6182 | 548 | if (specs.precision != 0) { | 6183 | 172 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 168 | const auto initial_width = specs.precision - prefix_width; | 6191 | 168 | auto max_width_view = | 6192 | 168 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 168 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 376 | else { | 6198 | 376 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_20reader_impl_for_charIwEESA_cEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_wcharIwEESA_wEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 438 | { | 6161 | 438 | const bool need_skipped_width = | 6162 | 438 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 438 | auto it = rng.begin(); | 6166 | 438 | std::ptrdiff_t prefix_width = 0; | 6167 | 438 | if (specs.precision != 0) { | 6168 | 128 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 128 | SCN_TRY(prefix_result, | 6170 | 128 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 128 | it = prefix_result.first.base(); | 6172 | 128 | prefix_width = prefix_result.second; | 6173 | 128 | } | 6174 | 310 | else { | 6175 | 310 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 310 | std::tie(it, prefix_width) = prefix_result; | 6177 | 310 | } | 6178 | 438 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 438 | std::ptrdiff_t value_width = 0; | 6182 | 438 | if (specs.precision != 0) { | 6183 | 128 | if (specs.precision <= prefix_width) { | 6184 | 2 | return detail::unexpected_scan_error( | 6185 | 2 | scan_error::invalid_fill, | 6186 | 2 | "Too many fill characters before value, " | 6187 | 2 | "precision exceeded before reading value"); | 6188 | 2 | } | 6189 | | | 6190 | 126 | const auto initial_width = specs.precision - prefix_width; | 6191 | 126 | auto max_width_view = | 6192 | 126 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 126 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 106 | it = w_it.base(); | 6195 | 106 | value_width = initial_width - w_it.count(); | 6196 | 106 | } | 6197 | 310 | else { | 6198 | 310 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 288 | specs, value, loc)); | 6200 | | | 6201 | 288 | if (need_skipped_width) { | 6202 | 222 | value_width = calculate_text_width( | 6203 | 222 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 222 | .view()); | 6205 | 222 | } | 6206 | 288 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 394 | std::ptrdiff_t postfix_width = 0; | 6210 | 394 | if (it != rng.end()) { | 6211 | 394 | SCN_TRY(postfix_result, | 6212 | 394 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 394 | rd.skip_ws_before_read(), prefix_width, | 6214 | 394 | value_width)); | 6215 | 394 | std::tie(it, postfix_width) = postfix_result; | 6216 | 394 | } | 6217 | | | 6218 | 394 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 394 | specs, prefix_width, value_width, postfix_width)); | 6220 | 174 | return it; | 6221 | 394 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_26reader_impl_for_code_pointIwEESA_DiEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_fEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_dEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6160 | 442 | { | 6161 | 442 | const bool need_skipped_width = | 6162 | 442 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 442 | auto it = rng.begin(); | 6166 | 442 | std::ptrdiff_t prefix_width = 0; | 6167 | 442 | if (specs.precision != 0) { | 6168 | 132 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 132 | SCN_TRY(prefix_result, | 6170 | 132 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 132 | it = prefix_result.first.base(); | 6172 | 132 | prefix_width = prefix_result.second; | 6173 | 132 | } | 6174 | 310 | else { | 6175 | 310 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 310 | std::tie(it, prefix_width) = prefix_result; | 6177 | 310 | } | 6178 | 442 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 442 | std::ptrdiff_t value_width = 0; | 6182 | 442 | if (specs.precision != 0) { | 6183 | 132 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 128 | const auto initial_width = specs.precision - prefix_width; | 6191 | 128 | auto max_width_view = | 6192 | 128 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 128 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 0 | it = w_it.base(); | 6195 | 0 | value_width = initial_width - w_it.count(); | 6196 | 0 | } | 6197 | 310 | else { | 6198 | 310 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 0 | specs, value, loc)); | 6200 | |
| 6201 | 0 | if (need_skipped_width) { | 6202 | 0 | value_width = calculate_text_width( | 6203 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 0 | .view()); | 6205 | 0 | } | 6206 | 0 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 0 | std::ptrdiff_t postfix_width = 0; | 6210 | 0 | if (it != rng.end()) { | 6211 | 0 | SCN_TRY(postfix_result, | 6212 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 0 | rd.skip_ws_before_read(), prefix_width, | 6214 | 0 | value_width)); | 6215 | 0 | std::tie(it, postfix_width) = postfix_result; | 6216 | 0 | } | 6217 | | | 6218 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 0 | specs, prefix_width, value_width, postfix_width)); | 6220 | 0 | return it; | 6221 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_eEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6160 | 732 | { | 6161 | 732 | const bool need_skipped_width = | 6162 | 732 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 732 | auto it = rng.begin(); | 6166 | 732 | std::ptrdiff_t prefix_width = 0; | 6167 | 732 | if (specs.precision != 0) { | 6168 | 258 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 258 | SCN_TRY(prefix_result, | 6170 | 258 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 258 | it = prefix_result.first.base(); | 6172 | 258 | prefix_width = prefix_result.second; | 6173 | 258 | } | 6174 | 474 | else { | 6175 | 474 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 474 | std::tie(it, prefix_width) = prefix_result; | 6177 | 474 | } | 6178 | 732 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 732 | std::ptrdiff_t value_width = 0; | 6182 | 732 | if (specs.precision != 0) { | 6183 | 258 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 254 | const auto initial_width = specs.precision - prefix_width; | 6191 | 254 | auto max_width_view = | 6192 | 254 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 254 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 178 | it = w_it.base(); | 6195 | 178 | value_width = initial_width - w_it.count(); | 6196 | 178 | } | 6197 | 474 | else { | 6198 | 474 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 416 | specs, value, loc)); | 6200 | | | 6201 | 416 | if (need_skipped_width) { | 6202 | 250 | value_width = calculate_text_width( | 6203 | 250 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 250 | .view()); | 6205 | 250 | } | 6206 | 416 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 594 | std::ptrdiff_t postfix_width = 0; | 6210 | 594 | if (it != rng.end()) { | 6211 | 338 | SCN_TRY(postfix_result, | 6212 | 338 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 338 | rd.skip_ws_before_read(), prefix_width, | 6214 | 338 | value_width)); | 6215 | 338 | std::tie(it, postfix_width) = postfix_result; | 6216 | 338 | } | 6217 | | | 6218 | 594 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 594 | specs, prefix_width, value_width, postfix_width)); | 6220 | 546 | return it; | 6221 | 594 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 6160 | 732 | { | 6161 | 732 | const bool need_skipped_width = | 6162 | 732 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 732 | auto it = rng.begin(); | 6166 | 732 | std::ptrdiff_t prefix_width = 0; | 6167 | 732 | if (specs.precision != 0) { | 6168 | 258 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 258 | SCN_TRY(prefix_result, | 6170 | 258 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 258 | it = prefix_result.first.base(); | 6172 | 258 | prefix_width = prefix_result.second; | 6173 | 258 | } | 6174 | 474 | else { | 6175 | 474 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 474 | std::tie(it, prefix_width) = prefix_result; | 6177 | 474 | } | 6178 | 732 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 732 | std::ptrdiff_t value_width = 0; | 6182 | 732 | if (specs.precision != 0) { | 6183 | 258 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 254 | const auto initial_width = specs.precision - prefix_width; | 6191 | 254 | auto max_width_view = | 6192 | 254 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 254 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 178 | it = w_it.base(); | 6195 | 178 | value_width = initial_width - w_it.count(); | 6196 | 178 | } | 6197 | 474 | else { | 6198 | 474 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 416 | specs, value, loc)); | 6200 | | | 6201 | 416 | if (need_skipped_width) { | 6202 | 250 | value_width = calculate_text_width( | 6203 | 250 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 250 | .view()); | 6205 | 250 | } | 6206 | 416 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 594 | std::ptrdiff_t postfix_width = 0; | 6210 | 594 | if (it != rng.end()) { | 6211 | 338 | SCN_TRY(postfix_result, | 6212 | 338 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 338 | rd.skip_ws_before_read(), prefix_width, | 6214 | 338 | value_width)); | 6215 | 338 | std::tie(it, postfix_width) = postfix_result; | 6216 | 338 | } | 6217 | | | 6218 | 594 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 594 | specs, prefix_width, value_width, postfix_width)); | 6220 | 546 | return it; | 6221 | 594 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6160 | 732 | { | 6161 | 732 | const bool need_skipped_width = | 6162 | 732 | specs.width != 0 || specs.precision != 0; | 6163 | | | 6164 | | // Read prefix | 6165 | 732 | auto it = rng.begin(); | 6166 | 732 | std::ptrdiff_t prefix_width = 0; | 6167 | 732 | if (specs.precision != 0) { | 6168 | 258 | auto max_width_view = take_width(rng, specs.precision); | 6169 | 258 | SCN_TRY(prefix_result, | 6170 | 258 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6171 | 258 | it = prefix_result.first.base(); | 6172 | 258 | prefix_width = prefix_result.second; | 6173 | 258 | } | 6174 | 474 | else { | 6175 | 474 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6176 | 474 | std::tie(it, prefix_width) = prefix_result; | 6177 | 474 | } | 6178 | 732 | auto prefix_end_it = it; | 6179 | | | 6180 | | // Read value | 6181 | 732 | std::ptrdiff_t value_width = 0; | 6182 | 732 | if (specs.precision != 0) { | 6183 | 258 | if (specs.precision <= prefix_width) { | 6184 | 4 | return detail::unexpected_scan_error( | 6185 | 4 | scan_error::invalid_fill, | 6186 | 4 | "Too many fill characters before value, " | 6187 | 4 | "precision exceeded before reading value"); | 6188 | 4 | } | 6189 | | | 6190 | 254 | const auto initial_width = specs.precision - prefix_width; | 6191 | 254 | auto max_width_view = | 6192 | 254 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6193 | 254 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6194 | 178 | it = w_it.base(); | 6195 | 178 | value_width = initial_width - w_it.count(); | 6196 | 178 | } | 6197 | 474 | else { | 6198 | 474 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6199 | 416 | specs, value, loc)); | 6200 | | | 6201 | 416 | if (need_skipped_width) { | 6202 | 250 | value_width = calculate_text_width( | 6203 | 250 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6204 | 250 | .view()); | 6205 | 250 | } | 6206 | 416 | } | 6207 | | | 6208 | | // Read postfix | 6209 | 594 | std::ptrdiff_t postfix_width = 0; | 6210 | 594 | if (it != rng.end()) { | 6211 | 338 | SCN_TRY(postfix_result, | 6212 | 338 | impl_postfix(ranges::subrange{it, rng.end()}, | 6213 | 338 | rd.skip_ws_before_read(), prefix_width, | 6214 | 338 | value_width)); | 6215 | 338 | std::tie(it, postfix_width) = postfix_result; | 6216 | 338 | } | 6217 | | | 6218 | 594 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6219 | 594 | specs, prefix_width, value_width, postfix_width)); | 6220 | 546 | return it; | 6221 | 594 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_29reader_impl_for_regex_matchesIwEESA_NS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_29reader_impl_for_regex_matchesIwEESA_NS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_25reader_impl_for_monostateIwEESA_NS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_23reader_impl_for_voidptrIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_boolIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_charIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_26reader_impl_for_code_pointIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_25reader_impl_for_monostateIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ |
6222 | | |
6223 | | template <typename T> |
6224 | | scan_expected<iterator> operator()(T& value) |
6225 | 28.3k | { |
6226 | | if constexpr (!detail::is_type_disabled<T> && |
6227 | | std::is_same_v< |
6228 | | context_type, |
6229 | 28.3k | basic_contiguous_scan_context<char_type>>) { |
6230 | 28.3k | auto rd = make_reader<T, char_type>(); |
6231 | 28.3k | SCN_TRY_DISCARD(rd.check_specs(specs)); |
6232 | 15.4k | return impl(rd, range, value); |
6233 | | } |
6234 | 0 | else if constexpr (!detail::is_type_disabled<T>) { |
6235 | 0 | auto rd = make_reader<T, char_type>(); |
6236 | 0 | SCN_TRY_DISCARD(rd.check_specs(specs)); |
6237 | |
|
6238 | 0 | if (!is_segment_contiguous(range) || specs.precision != 0 || |
6239 | 0 | specs.width != 0) { |
6240 | 0 | return impl(rd, range, value); |
6241 | 0 | } |
6242 | | |
6243 | 0 | auto crange = get_as_contiguous(range); |
6244 | 0 | SCN_TRY(it, impl(rd, crange, value)); |
6245 | 0 | return ranges::next(range.begin(), |
6246 | 0 | ranges::distance(crange.begin(), it)); |
6247 | | } |
6248 | | else { |
6249 | | SCN_EXPECT(false); |
6250 | | SCN_UNREACHABLE; |
6251 | | } |
6252 | 28.3k | } Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char>(char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<short>(short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<int>(int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<float>(float&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<double>(double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<short>(short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<int>(int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<float>(float&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<double>(double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<short>(short&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<int>(int&) Line | Count | Source | 6225 | 2.33k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.33k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.33k | auto rd = make_reader<T, char_type>(); | 6231 | 2.33k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 644 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.33k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned short>(unsigned short&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 6225 | 2.33k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.33k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.33k | auto rd = make_reader<T, char_type>(); | 6231 | 2.33k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 644 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.33k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned long long>(unsigned long long&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<void*>(void*&) Line | Count | Source | 6225 | 2.30k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.30k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.30k | auto rd = make_reader<T, char_type>(); | 6231 | 2.30k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 572 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.30k | } |
scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<bool>(bool&) Line | Count | Source | 6225 | 2.33k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.33k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.33k | auto rd = make_reader<T, char_type>(); | 6231 | 2.33k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 872 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.33k | } |
scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<char>(char&) Line | Count | Source | 6225 | 2.30k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.30k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.30k | auto rd = make_reader<T, char_type>(); | 6231 | 2.30k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 624 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.30k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<float>(float&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<double>(double&) Line | Count | Source | 6225 | 2.33k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.33k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.33k | auto rd = make_reader<T, char_type>(); | 6231 | 2.33k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 646 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.33k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long double>(long double&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 6225 | 2.30k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.30k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.30k | auto rd = make_reader<T, char_type>(); | 6231 | 2.30k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 2.17k | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.30k | } |
scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 6225 | 2.30k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.30k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.30k | auto rd = make_reader<T, char_type>(); | 6231 | 2.30k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 2.17k | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.30k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 6225 | 2.30k | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 2.30k | basic_contiguous_scan_context<char_type>>) { | 6230 | 2.30k | auto rd = make_reader<T, char_type>(); | 6231 | 2.30k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 2.17k | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 2.30k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<short>(short&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<int>(int&) Line | Count | Source | 6225 | 854 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 854 | basic_contiguous_scan_context<char_type>>) { | 6230 | 854 | auto rd = make_reader<T, char_type>(); | 6231 | 854 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 470 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 854 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned short>(unsigned short&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 6225 | 854 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 854 | basic_contiguous_scan_context<char_type>>) { | 6230 | 854 | auto rd = make_reader<T, char_type>(); | 6231 | 854 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 470 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 854 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned long long>(unsigned long long&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<void*>(void*&) Line | Count | Source | 6225 | 814 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 814 | basic_contiguous_scan_context<char_type>>) { | 6230 | 814 | auto rd = make_reader<T, char_type>(); | 6231 | 814 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 402 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 814 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<bool>(bool&) Line | Count | Source | 6225 | 854 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 854 | basic_contiguous_scan_context<char_type>>) { | 6230 | 854 | auto rd = make_reader<T, char_type>(); | 6231 | 854 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 548 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 854 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<char>(char&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<wchar_t>(wchar_t&) Line | Count | Source | 6225 | 814 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 814 | basic_contiguous_scan_context<char_type>>) { | 6230 | 814 | auto rd = make_reader<T, char_type>(); | 6231 | 814 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 438 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 814 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<float>(float&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<double>(double&) Line | Count | Source | 6225 | 854 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 854 | basic_contiguous_scan_context<char_type>>) { | 6230 | 854 | auto rd = make_reader<T, char_type>(); | 6231 | 854 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 442 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 854 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 6225 | 814 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 814 | basic_contiguous_scan_context<char_type>>) { | 6230 | 814 | auto rd = make_reader<T, char_type>(); | 6231 | 814 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 732 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 814 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Line | Count | Source | 6225 | 814 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 814 | basic_contiguous_scan_context<char_type>>) { | 6230 | 814 | auto rd = make_reader<T, char_type>(); | 6231 | 814 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 732 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 814 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 6225 | 814 | { | 6226 | | if constexpr (!detail::is_type_disabled<T> && | 6227 | | std::is_same_v< | 6228 | | context_type, | 6229 | 814 | basic_contiguous_scan_context<char_type>>) { | 6230 | 814 | auto rd = make_reader<T, char_type>(); | 6231 | 814 | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6232 | 732 | return impl(rd, range, value); | 6233 | | } | 6234 | | else if constexpr (!detail::is_type_disabled<T>) { | 6235 | | auto rd = make_reader<T, char_type>(); | 6236 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6237 | | | 6238 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6239 | | specs.width != 0) { | 6240 | | return impl(rd, range, value); | 6241 | | } | 6242 | | | 6243 | | auto crange = get_as_contiguous(range); | 6244 | | SCN_TRY(it, impl(rd, crange, value)); | 6245 | | return ranges::next(range.begin(), | 6246 | | ranges::distance(crange.begin(), it)); | 6247 | | } | 6248 | | else { | 6249 | | SCN_EXPECT(false); | 6250 | | SCN_UNREACHABLE; | 6251 | | } | 6252 | 814 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char>(char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) |
6253 | | |
6254 | | scan_expected<iterator> operator()( |
6255 | | typename basic_scan_arg<detail::default_context<char_type>>::handle) |
6256 | | const |
6257 | 0 | { |
6258 | 0 | SCN_EXPECT(false); |
6259 | 0 | SCN_UNREACHABLE; |
6260 | 0 | } Unexecuted instantiation: scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) const Unexecuted instantiation: scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) const Unexecuted instantiation: scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) const Unexecuted instantiation: scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) const |
6261 | | |
6262 | | range_type range; |
6263 | | const detail::format_specs& specs; |
6264 | | detail::locale_ref loc; |
6265 | | }; |
6266 | | |
6267 | | template <typename Context> |
6268 | | struct custom_reader { |
6269 | | using context_type = Context; |
6270 | | using char_type = typename context_type::char_type; |
6271 | | using parse_context_type = typename context_type::parse_context_type; |
6272 | | using iterator = typename context_type::iterator; |
6273 | | |
6274 | | template <typename T> |
6275 | | scan_expected<iterator> operator()(T&) const |
6276 | 0 | { |
6277 | 0 | SCN_EXPECT(false); |
6278 | 0 | SCN_UNREACHABLE; |
6279 | 0 | } Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<signed char>(signed char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<short>(short&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<int>(int&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long>(long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long long>(long long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned char>(unsigned char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned short>(unsigned short&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned int>(unsigned int&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long>(unsigned long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long long>(unsigned long long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<void*>(void*&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<bool>(bool&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char>(char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<wchar_t>(wchar_t&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char32_t>(char32_t&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<float>(float&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<double>(double&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long double>(long double&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<signed char>(signed char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<short>(short&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<int>(int&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long>(long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long long>(long long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned char>(unsigned char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned short>(unsigned short&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned int>(unsigned int&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long>(unsigned long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long long>(unsigned long long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<void*>(void*&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<bool>(bool&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char>(char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<wchar_t>(wchar_t&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char32_t>(char32_t&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<float>(float&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<double>(double&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long double>(long double&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) const |
6280 | | |
6281 | | scan_expected<iterator> operator()( |
6282 | | typename basic_scan_arg<detail::default_context<char_type>>::handle h) |
6283 | | const |
6284 | 0 | { |
6285 | 0 | SCN_TRY_DISCARD(h.scan(parse_ctx, ctx)); |
6286 | 0 | return {ctx.begin()}; |
6287 | 0 | } Unexecuted instantiation: scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) const Unexecuted instantiation: scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) const |
6288 | | |
6289 | | parse_context_type& parse_ctx; |
6290 | | context_type& ctx; |
6291 | | }; |
6292 | | } // namespace impl |
6293 | | |
6294 | | SCN_END_NAMESPACE |
6295 | | } // namespace scn |